]> henry.ined.fr Git - .git/commitdiff
Imach for OS/X version 0.98k
authorN. Brouard <brouard@ined.fr>
Mon, 6 Jul 2009 10:22:06 +0000 (10:22 +0000)
committerN. Brouard <brouard@ined.fr>
Mon, 6 Jul 2009 10:22:06 +0000 (10:22 +0000)
src/Makefile

index 7016dc5193d1e256947ade969569e986b8ebfcc7..047d5da53e375e1dd683c5ab524a65cc6aa6f8f2 100644 (file)
@@ -1,11 +1,12 @@
-VERSION=0.98h
-COPYRIGHT=Copyright (C)  2002-2006 INED-EUROREVES-Institut de longévité
+VERSION=0.98k
+COPYRIGHT=Copyright (C)  2002-2009 INED-EUROREVES-Institut de longévité
 IMACHSETUPVERSION=1
 
 # make _linux=1 imachopt
 # make _linux=1 imach
 
-# make _macosx=1
+# make _macosx=1 imach
+# make _macosx=1 imachdmg
 
 #        Windows
 # make _windows=1 imachcyg
@@ -25,7 +26,10 @@ CFLAGS= -O3 -DUNIX
 UNIX2DOS= echo "Unix2dos " 
 # Don'know how to launch imach098.pmsp in batch to create package file imach098Panther.pkg
 # ./createdmg.sh imach imach098panther ./imach098Panther
+# ./createdmg.sh imach imach098leopard ./imach098Leopard
 # and directory ./imach098Panther contains package file imach098Panther.pkg
+#./create-dmg --window-size 500 300 --background ~/Projects/eclipse-osx-repackager/build/background.gif --icon-size 96 --volname "Hyper Foo" --icon "Applications" 380 205 --icon "Eclipse OS X Repackager" 110 205 test2.dmg /Users/andreyvit/Projects/eclipse-osx-repackager/temp/Eclipse\ OS\ X\ Repackager\ r10/
+# ./create-dmg --volname "IMaCh 0.98j" imach098j.dmg imach098Leopard
 endif
 
 ifdef _windows
@@ -133,6 +137,12 @@ imachopt : imachopt.o
 imachopt.o : imach.c 
        $(CC) $(CFLAGSOPT) -o imachopt.o -c imach.c
 
+imachdmg : imachopt.o create-dmg
+       $(CC) $(LFLAGSOPT) -o imach imachopt.o
+       cp imach imach098Leopard/bin
+       ./create-dmg --volname "IMaCh $(VERSION)" imach$(VERSION).dmg imach098Leopard
+
+
 imachcyg : imachcyg.o  strsep.o
        $(CC) $(LFLAGS) -o imach imachcyg.o strsep.o
 imachcyg.o : imach.c