[mm-common] Remove pointless prerequisite from dist-changelog
- From: Daniel Elstner <daniel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [mm-common] Remove pointless prerequisite from dist-changelog
- Date: Mon, 31 Aug 2009 23:11:48 +0000 (UTC)
commit 0cf9833920051a4841cd6ffe68b6c46a29c71c79
Author: Daniel Elstner <danielk openismus com>
Date: Tue Sep 1 01:05:53 2009 +0200
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.
build/dist-changelog.am | 4 ++--
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"; \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]