[aquaskk-changes 479] CVS update: AquaSKK/Package

t-suw****@users***** t-suw****@users*****
2008年 9月 20日 (土) 14:03:05 JST


Index: AquaSKK/Package/Makefile
diff -u AquaSKK/Package/Makefile:1.3 AquaSKK/Package/Makefile:1.4
--- AquaSKK/Package/Makefile:1.3	Sun Nov  4 09:56:06 2007
+++ AquaSKK/Package/Makefile	Sat Sep 20 14:03:05 2008
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.3 2007/11/04 00:56:06 t-suwa Exp $
+# $Id: Makefile,v 1.4 2008/09/20 05:03:05 t-suwa Exp $
 
 #
 # Makefile for build installer
@@ -9,20 +9,25 @@
 DEST	= contents/Components
 PKGMAKER= /Developer/usr/bin/packagemaker
 BUILD	= $(PKGMAKER) --doc AquaSKK.pmdoc
+TEMPDIR	= /tmp/jp.sourceforge.aquaskk/AquaSKK
+HDIMAGE	= hdiutil create -ov -srcfolder $(TEMPDIR)
 
 TODAY	= `date +%F`
 
 beta: $(DEST)
-	$(BUILD) -o AquaSKK-BETA-$(TODAY).pkg
+	$(HDIMAGE) -o /tmp/AquaSKK-BETA-$(TODAY)
 
 release: $(DEST)
-	$(BUILD) -o AquaSKK-RELEASE.pkg
+	$(HDIMAGE) -o /tmp/AquaSKK-RELEASE
 
 $(DEST): build
+	rm -fr $(TEMPDIR)
+	mkdir -p $(TEMPDIR)
 	sudo rm -rf $(DEST)
 	sudo mkdir -p $(DEST)
 	sudo cp -R $(DEPLOY)/$(TARGET) $(DEST)
 	sudo chown -R root:admin $(DEST)
+	$(BUILD) -o $(TEMPDIR)/AquaSKK.pkg
 
 build:
-	cd ..; make
+	cd ..; make check


aquaskk-changes メーリングリストの案内