[xml/sgml-commit] [linuxdoc-tools] 07/17: Makefile.maint: New set-tags and set-signed-tags targets, to remind me about creating both.
Agustín Martín Domingo
agmartin at moszumanska.debian.org
Wed May 4 17:56:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
agmartin pushed a commit to branch upstream
in repository linuxdoc-tools.
commit 93566bbf5e7cceadcd7d8e6daca4d2440f81a6b8
Author: Agustin Martin Domingo <agmartin at debian.org>
Date: Tue Apr 5 19:01:14 2016 +0200
Makefile.maint: New set-tags and set-signed-tags targets, to remind me about creating both.
Signed-off-by: Agustin Martin Domingo <agmartin at debian.org>
---
Makefile.maint | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Makefile.maint b/Makefile.maint
index cd42c90..5b428e5 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -1,3 +1,5 @@
+GPG_SIGN_TAGS =
+
copyright: COPYING
COPYING: Makefile.maint linuxdoc-tools.copyright sgmls-1.1/LICENSE iso-entities/COPYING entity-map/COPYING
echo "----------------------------------" > $@
@@ -28,6 +30,14 @@ COPYING: Makefile.maint linuxdoc-tools.copyright sgmls-1.1/LICENSE iso-entities/
echo "" >> $@
cat entity-map/COPYING >> $@
+set-signed-tags: GPG_SIGN_TAGS = -s
+set-signed-tags: set-tags
+
+set-tags: VERSION = $(shell cat VERSION)
+set-tags:
+ git tag $(GPG_SIGN_TAGS) upstream/$(VERSION)
+ git tag $(GPG_SIGN_TAGS) v$(VERSION)
+
tarball: VERSION = $(shell cat VERSION)
tarball: GIT_STATUS = $(shell git status --porcelain)
tarball: TARBALL = ../linuxdoc-tools-$(VERSION).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/linuxdoc-tools.git
More information about the debian-xml-sgml-commit
mailing list