]> git.saurik.com Git - cycript.git/commitdiff
Fix ./make install (cs_mtime and new libcycripts).
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 24 Aug 2016 07:06:31 +0000 (00:06 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 24 Aug 2016 07:06:31 +0000 (00:06 -0700)
build.mk

index 6c1dc05fab31be0e4ed1f6e73f2cab1b799919d4..72f9988a3abf628d004ec9539fc3a8705ce94e84 100644 (file)
--- a/build.mk
+++ b/build.mk
@@ -298,8 +298,10 @@ debug: $(local)
        DYLD_LIBRARY_PATH=Cycript.lib lldb Cycript.lib/cycript-apl
 
 install: $(local)
-       sudo cp -af $(filter-out %.dylib,$^) /usr/bin
-       sudo cp -af $(filter %.dylib,$^) /usr/lib
+       sudo rm -vf /usr/bin/cycript /usr/lib/libcycript*
+       sudo cp -vfa Cycript.lib/cycript-apl /usr/bin/cycript
+       sudo cp -vfa $(filter %.dylib,$^) $(filter %.db,$^) $(filter %.jar,$^) /usr/lib
+       sudo cp -vfa libcycript.cy /usr/lib
 
 push: cycript $(android)
        adb push cycript /data/local/tmp/cycript