summaryrefslogtreecommitdiffstats
path: root/git-buildmsg
diff options
context:
space:
mode:
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)"; \