let's build the dmz from the osxapp target

Also, delete old version, otherwise hditool chokes on it
This commit is contained in:
Joey Hess 2012-09-28 12:20:18 -04:00
parent 7a66515c1e
commit c86302df2b

View file

@ -166,12 +166,10 @@ osxapp: $(bins)
done done
sort "$(OSXAPP_BASE)/libdirs.tmp" | uniq > "$(OSXAPP_BASE)/libdirs" sort "$(OSXAPP_BASE)/libdirs.tmp" | uniq > "$(OSXAPP_BASE)/libdirs"
rm -f "$(OSXAPP_BASE)/libdirs.tmp" rm -f "$(OSXAPP_BASE)/libdirs.tmp"
rm -f tmp/git-annex.dmg
tmp/git-annex.dmg: osxapp
hdiutil create -size 640m -format UDRW -srcfolder $(GIT_ANNEX_TMP_BUILD_DIR)/build-dmg \ hdiutil create -size 640m -format UDRW -srcfolder $(GIT_ANNEX_TMP_BUILD_DIR)/build-dmg \
-volname git-annex -o tmp/git-annex.dmg -volname git-annex -o tmp/git-annex.dmg
rm -f tmp/git-annex.dmg.bz2
tmp/git-annex.dmg.bz2: tmp/git-annex.dmg
bzip2 tmp/git-annex.dmg bzip2 tmp/git-annex.dmg
.PHONY: $(bins) test install .PHONY: $(bins) test install