X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/7198f00397564ab468b47bdc23b378e2996e6e61..d3c599036d40f9aa454e06006fba16bd4c8ff68d:/makefile?ds=sidebyside diff --git a/makefile b/makefile index 61768dd..792f14c 100644 --- a/makefile +++ b/makefile @@ -69,7 +69,7 @@ filters += $(shell bison <(echo '%code{}%%_:') -o/dev/null 2>/dev/null && echo B ifdef arch deb := $(shell grep ^Package: control.in | cut -d ' ' -f 2-)_$(shell grep ^Version: control.in | cut -d ' ' -f 2 | sed -e 's/\#/$(svn)/')_$(arch).deb -all: $(deb) +all: extra:: @@ -150,4 +150,8 @@ test: $(deb) 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 +install: cycript $(lib)cycript.$(dll) + cp -p cycript /usr/bin + cp -p $(lib)cycript.$(dll) /usr/lib + .PHONY: all clean extra package control.tmp