mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 01:36:45 +00:00
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:
@@ -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 | \
|
||||
|
||||
Reference in New Issue
Block a user