1.1 --- a/Makefile.am Sun Jun 28 09:22:43 2009 +0000
1.2 +++ b/Makefile.am Tue Jul 13 16:26:49 2010 +1000
1.7 +DMGFILE=lxdream-$(VERSION)-$(host_cpu).dmg
1.8 +DMGLABEL=Lxdream-$(VERSION)-$(host_cpu)
1.16 +# Build a Mac DMG disk image.
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.27 + @echo --- Done ---