X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/6a9812501258df26b7c487e50744b91abe8ebe39..de9fc71b1efd1cbcd5049e5b7c162844a6909a6c:/makefile diff --git a/makefile b/makefile index 551bd73..efcb4eb 100644 --- a/makefile +++ b/makefile @@ -83,7 +83,7 @@ endif endif control: control.tmp - [[ -e control ]] && diff control control.tmp &>/dev/null || cp -af control.tmp control + [[ -e control ]] && diff control control.tmp &>/dev/null || cp -pRf control.tmp control $(deb): $(all) control rm -rf package @@ -143,7 +143,7 @@ package: $(deb) test: $(deb) dpkg -i $(deb) if [[ -e target.cy ]]; then cycript -c target.cy && echo; fi - if [[ -e jquery.js ]]; then /usr/bin/time cycript -c jquery.js >jquery.cyc.js; gzip -9c jquery.cyc.js >jquery.cyc.js.gz; wc -c jquery.{mam,gcc,cyc,bak,yui}.js; wc -c jquery.{gcc,cyc,bak,mam,yui}.js.gz; fi + if [[ -e jquery.js ]]; then /usr/bin/time cycript -c jquery.js >jquery.cyc.js; gzip -9c jquery.cyc.js >jquery.cyc.js.gz; wc -c jquery.{mam,gcc,cyc,bak,yui}.js; wc -c jquery.{cyc,gcc,bak,mam,yui}.js.gz; fi if [[ -e test.cy ]]; then cycript test.cy; fi .PHONY: all clean extra package control.tmp