Search
lxdream.org :: lxdream/Makefile.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename Makefile.in
changeset 1061:06ea56ae747f
prev1059:ea2311906607
next1065:bc1cc0c54917
author nkeynes
date Fri Jul 03 21:47:45 2009 +1000 (14 years ago)
permissions -rw-r--r--
last change Commit mercurial .hgignore file
file annotate diff log raw
1.1 --- a/Makefile.in Sun Jun 28 23:17:07 2009 +0000
1.2 +++ b/Makefile.in Fri Jul 03 21:47:45 2009 +1000
1.3 @@ -270,6 +270,8 @@
1.4 sysconfdir = @sysconfdir@
1.5 target_alias = @target_alias@
1.6 BUNDLE = lxdream.app
1.7 +DMGFILE = lxdream-$(VERSION)-$(host_cpu).dmg
1.8 +DMGLABEL = Lxdream-$(VERSION)-$(host_cpu)
1.9 @BUILD_SYSTEST_TRUE@TEST_SUBDIR = test
1.10 SUBDIRS = src po $(TEST_SUBDIR)
1.11 EXTRA_DIST = autogen.sh lxdream.pod lxdream.desktop bundlelibs.pl
1.12 @@ -847,6 +849,19 @@
1.13 @GUI_COCOA_TRUE@ done
1.14 @GUI_COCOA_TRUE@ @echo --- Done ---
1.15
1.16 +# Build a Mac DMG disk image.
1.17 +dmg: $(BUNDLE)
1.18 + @echo --- Building DMG image ---
1.19 + hdiutil create -fs HFS+ -size 5m -volname $(DMGLABEL) $(DMGFILE)
1.20 + hdiutil attach -mountpoint tmp.mount $(DMGFILE)
1.21 + cp -Rdp $(BUNDLE) tmp.mount/
1.22 + cp dmg.layout tmp.mount/.DS_Store
1.23 + ln -s /Applications tmp.mount/Applications
1.24 + hdiutil unmount tmp.mount
1.25 + zip -9 $(DMGFILE).zip $(DMGFILE)
1.26 + rm $(DMGFILE)
1.27 + @echo --- Done ---
1.28 +
1.29 bundle: all
1.30 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1.31 # Otherwise a system limit (for SysV at least) may be exceeded.
.