]> git.saurik.com Git - cydia.git/commitdiff
Use awkward make behavior to help build stability.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 19 May 2019 21:38:13 +0000 (14:38 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 19 May 2019 21:38:13 +0000 (14:38 -0700)
makefile

index a0d3732b06c6c62208f5d91b09b09269b37f3b72..4d64d5e48293df2bb0946765f16e8e462111550a 100644 (file)
--- a/makefile
+++ b/makefile
@@ -177,10 +177,10 @@ clean:
        rm -f MobileCydia postinst
        rm -rf Objects/ Images/
 
-Objects/apt64/apt-pkg/tagfile.o: apt64/apt-pkg/tagfile-keys.cc
-Objects/apt64/apt-pkg/deb/deblistparser.o: apt64/apt-pkg/tagfile-keys.cc
+Objects/apt64/apt-pkg/tagfile.o: Objects/apt64/apt-pkg/tagfile-keys.h
+Objects/apt64/apt-pkg/deb/deblistparser.o: Objects/apt64/apt-pkg/tagfile-keys.h
 
-apt64/apt-pkg/tagfile-keys.cc:
+Objects/apt64/apt-pkg/tagfile-keys%h apt64/apt-pkg/tagfile-keys%cc:
        mkdir -p apt64
        mkdir -p Objects/apt64/apt-pkg
        cd apt64 && ../apt64/triehash/triehash.pl \
@@ -192,7 +192,7 @@ apt64/apt-pkg/tagfile-keys.cc:
             --function-name pkgTagHash \
             --include "<apt-pkg/tagfile.h>" \
             ../apt64/apt-pkg/tagfile-keys.list
-       sed -i -e 's@typedef char static_assert64@//\\0@' $@
+       sed -i -e 's@typedef char static_assert64@//\\0@' apt64/apt-pkg/tagfile-keys.cc
 
 Objects/%.o: %.cc $(header)
        @mkdir -p $(dir $@)