[Groonga-mysql-commit] mroonga/mroonga at 2ff149f [master] Automake task to upload source packages to Launchpad

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon May 26 15:46:09 JST 2014


HAYASHI Kentaro	2014-05-26 15:46:09 +0900 (Mon, 26 May 2014)

  New Revision: 2ff149fa18fb573c3e289761b436c2481ee8988c
  https://github.com/mroonga/mroonga/commit/2ff149fa18fb573c3e289761b436c2481ee8988c

  Message:
    Automake task to upload source packages to Launchpad

  Added files:
    packages/ubuntu/Makefile.am
  Modified files:
    configure.ac

  Modified: configure.ac (+8 -0)
===================================================================
--- configure.ac    2014-05-21 17:08:57 +0900 (637cf06)
+++ configure.ac    2014-05-26 15:46:09 +0900 (94f444f)
@@ -352,6 +352,13 @@ AC_ARG_WITH(rsync-path,
             [RSYNC_PATH="packages �� packages.groonga.org:public"])
 AC_SUBST(RSYNC_PATH)
 
+AC_ARG_WITH(launchpad-uploader-pgp-key,
+            [AS_HELP_STRING([--with-launchpad-uploader-pgp-key=KEY],
+            [specify PGP key UID to upload Groonga packages to Launchpad.])],
+            [LAUNCHPAD_UPLOADER_PGP_KEY="$withval"],
+            [LAUNCHPAD_UPLOADER_PGP_KEY=""])
+AC_SUBST(LAUNCHPAD_UPLOADER_PGP_KEY)
+
 GPG_UID=m4_include(gpg_uid)
 AC_SUBST(GPG_UID)
 
@@ -442,6 +449,7 @@ AC_CONFIG_FILES([
   packages/yum/Makefile
   packages/apt/Makefile
   packages/source/Makefile
+  packages/ubuntu/Makefile
   packages/windows/Makefile
   tools/Makefile
   doc/Makefile

  Added: packages/ubuntu/Makefile.am (+24 -0) 100644
===================================================================
--- /dev/null
+++ packages/ubuntu/Makefile.am    2014-05-26 15:46:09 +0900 (62986d1)
@@ -0,0 +1,24 @@
+CODE_NAMES = precise,saucy,trusty
+SOURCE = ../$(PACKAGE)-$(VERSION).tar.gz
+
+all:
+
+ensure-launchpad-configuration:
+	@if test -z "$(LAUNCHPAD_UPLOADER_PGP_KEY)"; then		\
+	  echo "--with-launchpad-uploader-pgp-key configure option must be specified.";	\
+	  false;							\
+	fi
+
+upload: source ensure-launchpad-configuration
+	./upload.rb \
+	  --package '$(PACKAGE)' \
+	  --version '$(VERSION)' \
+	  --source-archive '$(SOURCE)' \
+	  --code-names '$(CODE_NAMES)' \
+	  --debian-directory '$(srcdir)/../debian/' \
+	  --pgp-sign-key '$(LAUNCHPAD_UPLOADER_PGP_KEY)'
+
+source: $(SOURCE)
+
+$(SOURCE):
+	ln -s $(abs_top_builddir)/$(PACKAGE)-$(VERSION).tar.gz $(SOURCE)
-------------- next part --------------
HTML����������������������������...
下載 



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