[Groonga-commit] groonga/groonga-normalizer-mysql at 97fe32b [master] package source: make "release" complete

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jul 17 17:34:00 JST 2018


Kouhei Sutou	2018-07-17 17:34:00 +0900 (Tue, 17 Jul 2018)

  New Revision: 97fe32bf2614df80616044159f82aec9d357980d
  https://github.com/groonga/groonga-normalizer-mysql/commit/97fe32bf2614df80616044159f82aec9d357980d

  Message:
    package source: make "release" complete

  Modified files:
    packages/source/Makefile.am

  Modified: packages/source/Makefile.am (+18 -4)
===================================================================
--- packages/source/Makefile.am    2018-07-17 17:33:29 +0900 (29051e8)
+++ packages/source/Makefile.am    2018-07-17 17:34:00 +0900 (d94a3fd)
@@ -1,6 +1,10 @@
+FILES =						\
+	files/$(PACKAGE)-$(VERSION).tar.gz	\
+	files/$(PACKAGE)-$(VERSION).zip
+
 all:
 
-release: upload
+release: download upload
 
 ensure-rsync-path:
 	@if test -z "$(RSYNC_PATH)"; then				\
@@ -9,10 +13,20 @@ ensure-rsync-path:
 	fi
 
 download: ensure-rsync-path
-	rsync -avz --progress $(RSYNC_PATH)/source/groonga-normalizer-mysql/ files
+	rsync							\
+	  -avz							\
+	  --progress						\
+	  --delete						\
+	  $(RSYNC_PATH)/source/groonga-normalizer-mysql/	\
+	  files
 
-upload: ensure-rsync-path files/$(PACKAGE)-$(VERSION).tar.gz files/$(PACKAGE)-$(VERSION).zip
-	rsync -avz --progress --delete files/ $(RSYNC_PATH)/source/groonga-normalizer-mysql
+upload: ensure-rsync-path $(FILES)
+	rsync						\
+	  -avz						\
+	  --progress					\
+	  --delete					\
+	  files/					\
+	  $(RSYNC_PATH)/source/groonga-normalizer-mysql
 
 files/$(PACKAGE)-$(VERSION).tar.gz: $(top_builddir)/$(PACKAGE)-$(VERSION).tar.gz
 	mkdir -p files
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180717/a4acc286/attachment-0001.htm 



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