summaryrefslogtreecommitdiffstats
path: root/git-buildmsg
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-21 15:54:52 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-21 15:54:52 +0200
commitaf931d7989b2b7df4829875da6eba159b3f1bcfb (patch)
treeee8195f61ed40d81ddaa51a03309d836516196dc /git-buildmsg
parent38af054ac9b2c7059fd95e1a0eb4e2905b0a48f5 (diff)
Generate version information from git info
Diffstat (limited to 'git-buildmsg')
-rw-r--r--git-buildmsg/Makefile-files3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-buildmsg/Makefile-files b/git-buildmsg/Makefile-files
index de5a1be..d430bc1 100644
--- a/git-buildmsg/Makefile-files
+++ b/git-buildmsg/Makefile-files
@@ -50,7 +50,8 @@ check_PROGRAMS += print-buildmsg
print_buildmsg_SOURCES = git-buildmsg/print-buildmsg.c
nodist_print_buildmsg_SOURCES = $(GIT_BUILDMSG_H)
-dist-hook: git-buildmsg.stamp
+dist-hook: dist-hook-git-buildmsg
+dist-hook-git-buildmsg: git-buildmsg.stamp
if test -e "$(GIT_BUILDMSG_H)"; then \
$(SED) -e 's|^#undef GIT_IS_DIST.*|#define GIT_IS_DIST 1|' \
"$(GIT_BUILDMSG_H)" > "$(distdir)/$(GIT_BUILDMSG_H)"; \