]> git.saurik.com Git - cycript.git/commitdiff
Fixed a minor packaging SNAFU that broke the iPhone build.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 31 Oct 2009 03:43:40 +0000 (03:43 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 31 Oct 2009 03:43:40 +0000 (03:43 +0000)
makefile

index 3fe6d9e89f24406bea8d84f916c3e8945554918b..aa0bbbae6dd91289e9a409473cd2784fa7270548 100644 (file)
--- a/makefile
+++ b/makefile
@@ -63,10 +63,11 @@ all: $(deb)
 
 extra:
 
-control: control.in cycript libcycript.so
 ifeq ($(depends),)
+control: control.in cycript libcycript.so
        sed -e 's/&/'"$$(dpkg-query -S $$(ldd cycript libcycript.so | sed -e '/:$$/ d; s/^[ \t]*\([^ ]* => \)\?\([^ ]*\) .*/\2/' | sort -u) 2>/dev/null | sed -e 's/:.*//; /^cycript$$/ d; s/$$/,/' | sort -u | tr '\n' ' ')"'/;s/, $$//;s/#/$(svn)/;s/%/$(arch)/' $< >$@
 else
+control: control.in
        sed -e 's/&/$(foreach depend,$(depends),$(depend),)/;s/,$$//;s/#/$(svn)/;s/%/$(arch)/' $< >$@
 endif