summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorDaniel Elstner <danielk@openismus.com>2009-09-01 01:05:53 +0200
committerDaniel Elstner <danielk@openismus.com>2009-09-01 01:05:53 +0200
commit0cf9833920051a4841cd6ffe68b6c46a29c71c79 (patch)
tree9006b2744de2b7cd97d54a91d4f1c113b2a96ed1 /build
parent3374a2e5305f69282718288356a050d0d40e353d (diff)
downloadmm-common-0cf9833920051a4841cd6ffe68b6c46a29c71c79.tar.gz
Remove pointless prerequisite from dist-changelog
* build/dist-changelog.am (dist-changelog): Remove internal git file from the target prerequisites. If the source directory is not a git repository, the command will fail anyway.
Diffstat (limited to 'build')
-rw-r--r--build/dist-changelog.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/dist-changelog.am b/build/dist-changelog.am
index 4f6977d..a72e77d 100644
--- a/build/dist-changelog.am
+++ b/build/dist-changelog.am
@@ -23,11 +23,11 @@ endif
.PHONY: dist-changelog
-dist-changelog: $(top_srcdir)/.git/HEAD
+dist-changelog:
@if git --git-dir="$(top_srcdir)/.git" --work-tree="$(top_srcdir)" \
log --date=short --pretty='format:%cd %an <%ae>%n%n%s%n%n%b%n' \
| sed -e '/^[12]...-[01].-[0123]. [^<>]* <[^<>]*>$$/,/^$$/ b' \
- -e '/[^ ]/,/^[ ]*$$/! d' \
+ -e '/[^ ]/,/^[ ]*$$/! d' \
-e 's/^[ ]*/ /' \
-e 's/^[ ]*$$//' >.ChangeLog.tmp; \
then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \