null+****@clear*****
null+****@clear*****
2012年 5月 18日 (金) 17:15:02 JST
Kouhei Sutou 2012-05-18 17:15:02 +0900 (Fri, 18 May 2012)
New Revision: d6e92b693bb5db1cbe48eb7f29eb8b5b7fec82b9
Log:
Distribute groonga-X.Y.Z.zip source archive
Modified files:
packages/source/Makefile.am
Modified: packages/source/Makefile.am (+7 -1)
===================================================================
--- packages/source/Makefile.am 2012-05-18 14:24:00 +0900 (e526d69)
+++ packages/source/Makefile.am 2012-05-18 17:15:02 +0900 (9940b68)
@@ -11,9 +11,15 @@ ensure-rsync-path:
download: ensure-rsync-path
rsync -avz --progress $(RSYNC_PATH)/source/groonga/ files
-upload: ensure-rsync-path files/$(PACKAGE)-$(VERSION).tar.gz
+upload: ensure-rsync-path files/$(PACKAGE)-$(VERSION).tar.gz files/$(PACKAGE)-$(VERSION).zip
rsync -avz --progress --delete files/ $(RSYNC_PATH)/source/groonga
files/$(PACKAGE)-$(VERSION).tar.gz: $(top_builddir)/$(PACKAGE)-$(VERSION).tar.gz
mkdir -p files
cp -p $< $@
+
+files/$(PACKAGE)-$(VERSION).zip: files/$(PACKAGE)-$(VERSION).tar.gz
+ rm -rf $(PACKAGE)-$(VERSION)
+ tar xvzf files/$(PACKAGE)-$(VERSION).tar.gz
+ zip -r $@ $(PACKAGE)-$(VERSION)
+ rm -rf $(PACKAGE)-$(VERSION)