aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-11-02 03:47:23 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-11-02 03:47:23 +0000
commitd3f52801c79bb5661503a4b0c19f98c451450f70 (patch)
treec176c111c4f3d0583cda9c05b38c5cd10a890aaa
parent309a15010c90ef8938c1106118421519798908ee (diff)
downloadpandoc-d3f52801c79bb5661503a4b0c19f98c451450f70.tar.gz
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
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index db462a873..4a748d8ab 100644
--- a/Makefile
+++ b/Makefile
@@ -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 | \