@@ -70,11 +70,11 @@ cd lib && ln -s ../workdir-*.inst/lib/libz.a . touch lib/libz.a google-pcsc.js: lib/libcackey.a rm -f google-pcsc.js google-pcsc.js.new - cat workdir-*.inst/js/libpcsc.js > google-pcsc.js.new + if [ "$(CACKEY_DEBUG)" = '1' ]; then CACKEY_DEBUG_BOOL='true'; else CACKEY_DEBUG_BOOL='false'; fi; sed 's@goog.define(.goog\.DEBUG., .*);@goog.define('"'"'goog.DEBUG'"'"', '"$${CACKEY_DEBUG_BOOL}"');@' workdir-*.inst/js/libpcsc.js > google-pcsc.js.new mv google-pcsc.js.new google-pcsc.js include/libpcsc.h: lib/libcackey.a mkdir -p include rm -f include/libpcsc.h.new include/libpcsc.h