[Groonga-commit] groonga/groonga [master] support source file upload.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 5月 28日 (土) 15:40:20 JST


Kouhei Sutou	2011-05-28 06:40:20 +0000 (Sat, 28 May 2011)

  New Revision: 718ba22df654b60d87921153ab29a5372876eaf6

  Log:
    support source file upload.

  Added files:
    packages/source/Makefile.am
  Modified files:
    .gitignore
    configure.ac
    packages/Makefile.am

  Modified: .gitignore (+1 -0)
===================================================================
--- .gitignore    2011-05-28 05:49:23 +0000 (f7c4bb2)
+++ .gitignore    2011-05-28 06:40:20 +0000 (714d2d5)
@@ -86,6 +86,7 @@ version.sh
 /packages/yum/RPM-GPG-KEY-groonga
 /packages/yum/fedora/
 /packages/yum/centos/
+/packages/source/files/
 /examples/dictionary/db/
 /examples/dictionary/*.gz
 /examples/dictionary/gene95-dictionary/

  Modified: configure.ac (+1 -0)
===================================================================
--- configure.ac    2011-05-28 05:49:23 +0000 (dd138f5)
+++ configure.ac    2011-05-28 06:40:20 +0000 (cbef3fa)
@@ -129,6 +129,7 @@ AC_CONFIG_FILES([
   packages/rpm/centos/Makefile
   packages/rpm/fedora/Makefile
   packages/yum/Makefile
+  packages/source/Makefile
   data/Makefile
   data/html/Makefile
   data/munin/Makefile

  Modified: packages/Makefile.am (+2 -1)
===================================================================
--- packages/Makefile.am    2011-05-28 05:49:23 +0000 (d1bf9d1)
+++ packages/Makefile.am    2011-05-28 06:40:20 +0000 (19b9077)
@@ -1,4 +1,5 @@
 SUBDIRS =					\
 	apt					\
 	rpm					\
-	yum
+	yum					\
+	source

  Added: packages/source/Makefile.am (+19 -0) 100644
===================================================================
--- /dev/null
+++ packages/source/Makefile.am    2011-05-28 06:40:20 +0000 (fc15347)
@@ -0,0 +1,19 @@
+all:
+
+release: upload
+
+ensure-rsync-path:
+	@if test -z "$(RSYNC_PATH)"; then				\
+	  echo "--with-rsync-path configure option must be specified.";	\
+	  false;							\
+	fi
+
+download: ensure-rsync-path
+	rsync -avz $(RSYNC_PATH)/source/groonga/ files
+
+upload: ensure-rsync-path files/$(PACKAGE)-$(VERSION).tar.gz
+	rsync -avz --delete files/ $(RSYNC_PATH)/source/groonga
+
+files/$(PACKAGE)-$(VERSION).tar.gz: $(top_builddir)/$(PACKAGE)-$(VERSION).tar.gz
+	mkdir -p files
+	cp -p $@ $>




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