Revision 2151

trunk/scripts/installers/packagemaker/GNUmakefile (revision 2151)
1
CC=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
2

  
3
all: ADMBTerminal.dmg
4

  
5
ADMBTerminal.dmg: build/ADMBTerminal.app
6
	cp -vf README.txt build
7
	cp -rvf ../../../build/dist build/ADMBTerminal.app/admb
8
	rm -vf raw$@
9
	hdiutil create build/raw$@ -volname "ADMBTerminal" -srcfolder build/
10
	rm -vf $@
11
	hdiutil convert build/raw$@ -format UDBZ -o $@
12

  
13
build/ADMBTerminal.app: ADMBTerminal.scpt
14
	mkdir -p build
15
	osacompile -o $@ $^
16

  
17
build/ADMBTerminal.pkg:
18
	$(CC) --verbose --title "ADMBTerminal" --root build --id www.admb-project.org --resources build/ADMBTerminal.app/Contents/Resources --out $@
19

  
20
clean:
21
	rm -rvf build/rawADMBTerminal.dmg
22
	rm -rvf build
23
	rm -rvf ADMBTerminal.dmg

Also available in: Unified diff