[Groonga-commit] groonga/groonga-gobject at 5243edb [master] packages: add missing rules for source file

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon Jan 20 14:25:18 JST 2014


HAYASHI Kentaro	2014-01-20 14:25:18 +0900 (Mon, 20 Jan 2014)

  New Revision: 5243edb1dcb0eeb98171450fb4ca5de69a186cbc
  https://github.com/groonga/groonga-gobject/commit/5243edb1dcb0eeb98171450fb4ca5de69a186cbc

  Message:
    packages: add missing rules for source file

  Added files:
    packages/source/Makefile.am

  Added: packages/source/Makefile.am (+25 -0) 100644
===================================================================
--- /dev/null
+++ packages/source/Makefile.am    2014-01-20 14:25:18 +0900 (0bde87d)
@@ -0,0 +1,25 @@
+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 --progress $(RSYNC_PATH)/source/groonga-gobject/ files
+
+upload: ensure-rsync-path files/$(PACKAGE)-$(VERSION).tar.gz files/$(PACKAGE)-$(VERSION).zip
+	rsync -avz --progress --delete files/ $(RSYNC_PATH)/source/groonga-gobject
+
+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)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index