summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2007-12-02 02:31:33 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2007-12-02 02:31:33 +0100
commitf95fcc379bd8418b517ab011145d0dd7d98cc0a2 (patch)
tree1a126ecbc6d699526274dc6ce8e4bc9f029bf775
parent810eca99cd681e6fec9a55a35614f6d4ad7bfb50 (diff)
Actually run "git tag"
-rw-r--r--Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 0b6ae89..b941841 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -42,11 +42,12 @@ if HAVE_NDIM_MAN2TXT
endif
# Requires git 1.5 to work properly.
+GIT = git
tag:
test -d "$(top_srcdir)/.git"
- @cd "$(top_srcdir)" && git status;:
- @cd "$(top_srcdir)" && git-diff-files --quiet
- @cd "$(top_srcdir)" && git-diff-index --cached --quiet HEAD
+ @cd "$(top_srcdir)" && $(GIT) status;:
+ @cd "$(top_srcdir)" && $(GIT) diff-files --quiet
+ @cd "$(top_srcdir)" && $(GIT) diff-index --cached --quiet HEAD
test "x$$($(SED) '/^$(PACKAGE_TARNAME) $(PACKAGE_VERSION)$$/,$$ d' '$(top_srcdir)/NEWS')" = "x"
@$(SED) -n '/^$(PACKAGE_TARNAME) $(PACKAGE_VERSION)$$/,/^$(PACKAGE_TARNAME) / p' '$(top_srcdir)/NEWS' \
| $(SED) '$$d' | $(SED) '$$ { /^$$/d }' \
@@ -57,7 +58,7 @@ tag:
trap "rm $$msg" TERM QUIT ABRT INT; read ignore_this; \
args=""; \
test "x$$(echo "$(PACKAGE_VERSION)" | $(SED) 's/^[0-9]\{1,\}\.[0-9]\{1,\}//')" = "x" && args="-s -F $$msg"; \
- cd "$(top_srcdir)" && echo git tag $${args} "v$(PACKAGE_VERSION)"; rm "$$msg"
+ cd "$(top_srcdir)" && $(GIT) tag $${args} "v$(PACKAGE_VERSION)"; rm "$$msg"
UPLOAD_DIR = upload-dir
ALL_UPLOAD_FILES = $(UPLOAD_FILES) $(distdir).tar.bz2