Make osx-dmg target depend on $(osx_dmg_name), so that if the

dmg file has already been built, it does not build it again.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@68 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher
2006-11-02 03:47:23 +00:00
parent 309a15010c
commit d3f52801c7
+2 -1
View File
@@ -201,7 +201,8 @@ osx-pkg: osx-pkg-prep
osx_dmg_name:=Pandoc.dmg
osx_dmg_volume:="Pandoc $(VERSION)"
cleanup_files+=$(osx_dmg_name)
osx-dmg: $(osx_pkg_name)
osx-dmg: $(osx_dmg_name)
$(osx_dmg_name): $(osx_pkg_name)
-rm -f $(osx_dmg_name)
hdiutil create $(osx_dmg_name) -size 05m -fs HFS+ -volname $(osx_dmg_volume)
dev_handle=`hdid $(osx_dmg_name) | grep Apple_HFS | \