From d3f52801c79bb5661503a4b0c19f98c451450f70 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Thu, 2 Nov 2006 03:47:23 +0000 Subject: 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 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 | \ -- cgit v1.2.3