filename | Makefile.am |
changeset | 1061:06ea56ae747f |
prev | 1053:7a9a5eef34ac |
next | 1170:9ffc8295b414 |
author | nkeynes |
date | Fri Sep 10 08:50:55 2010 +1000 (13 years ago) |
permissions | -rw-r--r-- |
last change | Add missing sh4_translate_breakpoint_hit to the symbol table Change asm() to __asm__() as it's more likely to work |
file | annotate | diff | log | raw |
1.1 --- a/Makefile.am Sun Jun 28 09:22:43 2009 +00001.2 +++ b/Makefile.am Fri Sep 10 08:50:55 2010 +10001.3 @@ -2,6 +2,8 @@1.5 POD2MAN=@POD2MAN@1.6 BUNDLE=lxdream.app1.7 +DMGFILE=lxdream-$(VERSION)-$(host_cpu).dmg1.8 +DMGLABEL=Lxdream-$(VERSION)-$(host_cpu)1.10 if BUILD_SYSTEST1.11 TEST_SUBDIR = test1.12 @@ -82,4 +84,17 @@1.13 @echo --- Done ---1.14 endif1.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_Store1.23 + ln -s /Applications tmp.mount/Applications1.24 + hdiutil unmount tmp.mount1.25 + zip -9 $(DMGFILE).zip $(DMGFILE)1.26 + rm $(DMGFILE)1.27 + @echo --- Done ---1.28 +1.29 bundle: all
.