[Groonga-commit] groonga/groonga [master] [windows] add .zip generation task.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 6月 28日 (火) 14:10:34 JST


Kouhei Sutou	2011-06-28 05:10:34 +0000 (Tue, 28 Jun 2011)

  New Revision: 83f90e71f3335fe7004bf8095ff319ab6e2d9f0f

  Log:
    [windows] add .zip generation task.

  Modified files:
    packages/windows/Makefile.am

  Modified: packages/windows/Makefile.am (+8 -1)
===================================================================
--- packages/windows/Makefile.am    2011-06-28 01:42:41 +0000 (fc8d1ea)
+++ packages/windows/Makefile.am    2011-06-28 05:10:34 +0000 (eee1809)
@@ -3,7 +3,7 @@ EXTRA_DIST = Rakefile
 
 all:
 
-release: build upload
+release: build source upload
 
 ensure-rsync-path:
 	@if test -z "$(RSYNC_PATH)"; then				\
@@ -28,6 +28,13 @@ build: source
 build-groonga: source
 	$(RUBY) -S rake build:groonga $(build_options)
 
+package:
+	mkdir -p files
+	rm -rf files/$(PACKAGE)-$(VERSION)
+	cp -a dist files/$(PACKAGE)-$(VERSION)
+	(cd files && zip -r $(PACKAGE)-$(VERSION).zip $(PACKAGE)-$(VERSION))
+	rm -rf files/$(PACKAGE)-$(VERSION)
+
 SOURCE=../$(PACKAGE)-$(VERSION).tar.gz
 
 source: $(SOURCE)




Groonga-commit メーリングリストの案内
Back to archive index