Tomotaka SUWA
t-suw****@users*****
2006年 12月 18日 (月) 00:05:42 JST
Index: AquaSKK/Package/AquaSKK.pmproj Index: AquaSKK/Package/Makefile diff -u AquaSKK/Package/Makefile:1.1 AquaSKK/Package/Makefile:1.2 --- AquaSKK/Package/Makefile:1.1 Mon Jul 18 19:44:16 2005 +++ AquaSKK/Package/Makefile Mon Dec 18 00:05:42 2006 @@ -1,15 +1,27 @@ -# $Id: Makefile,v 1.1 2005/07/18 10:44:16 t-suwa Exp $ +# $Id: Makefile,v 1.2 2006/12/17 15:05:42 t-suwa Exp $ # -# Makefile for prepare contents +# Makefile for build installer # TARGET = AquaSKKInputMethod.component -BUILD = ../build/Deployment +DEPLOY = ../build/Deployment DEST = contents/Components +BUILD = /Developer/Tools/packagemaker -build -proj AquaSKK.pmproj -all: +TODAY = `date +%F` + +beta: $(DEST) + $(BUILD) -p AquaSKK-BETA-$(TODAY).pkg + +release: $(DEST) + $(BUILD) -p AquaSKK-RELEASE.pkg + +$(DEST): build sudo rm -rf $(DEST) sudo mkdir -p $(DEST) - sudo cp -r $(BUILD)/$(TARGET) $(DEST) + sudo cp -r $(DEPLOY)/$(TARGET) $(DEST) sudo chown -R root:admin $(DEST) + +build: + cd ..; make