]> git.saurik.com Git - cycript.git/blobdiff - makefile
Fixed a bug with trailing backslashes in trampoline comments.
[cycript.git] / makefile
index f939c4bdfc5a6381f7d433e7ab72dca541516ff1..1de908ece886f34e0c0f7cdfa77136a6e7a9ac46 100644 (file)
--- a/makefile
+++ b/makefile
@@ -159,7 +159,14 @@ test: $(deb)
        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
+       sudo cp -p cycript /usr/bin
+       sudo cp -p $(lib)cycript.$(dll) /usr/lib
+       # DOUG: this needs to be ported to GNUmakefile
+       sudo chgrp procmod /usr/bin/cycript
+       sudo chmod g+s /usr/bin/cycript
+
+# DOUG: this needs to be ported to GNUmakefile
+uninstall:
+       sudo rm -f /usr/bin/cycript /usr/lib/libcycript.dylib
 
 .PHONY: all clean extra package control.tmp