[beast: 3/6] BUILD: minor ChangeLog rule fixes
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 3/6] BUILD: minor ChangeLog rule fixes
- Date: Sat, 17 Jun 2017 00:22:21 +0000 (UTC)
commit ecc54d0ea14f45f9256ac444a7819578468eb47b
Author: Tim Janik <timj gnu org>
Date: Sat Jun 17 02:13:19 2017 +0200
BUILD: minor ChangeLog rule fixes
Signed-off-by: Tim Janik <timj gnu org>
Makefile.am | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 6d963dd..39e38c8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -74,13 +74,13 @@ CLEANFILES += topbuildid.cc # preserve across 'mostlyclean' if unchanged to avoi
buildid:
@echo $(topbuildid)
-# == ChangeLog & Release Rules ==
+# == ChangeLog ==
CHANGELOG_RANGE = $(shell git cat-file -e ce584d04999a7fb9393e1cfedde2048ba73e8878 && \
echo ce584d04999a7fb9393e1cfedde2048ba73e8878..HEAD || echo HEAD)
ChangeLog: $(GITSTAMPS)
$(AM_V_GEN)
- $(Q) git log --pretty='^^%ad %an # %h%n%n%B%n' --abbrev=11 \
- --date=short --first-parent $(CHANGELOG_RANGE) > xgen-$(@F) # Generate ChangeLog with
^^-prefixed records
+ $(Q) git log --pretty='^^%ad %an # %h%n%n%B%n' --first-parent \
+ --abbrev=11 --date=short $(CHANGELOG_RANGE) > xgen-$(@F) # Generate ChangeLog with
^^-prefixed records
$(Q) sed 's/^/ /; s/^ ^^// ; s/[[:space:]]\+$$// ' -i xgen-$(@F) # Tab-indent commit bodies,
kill trailing whitespaces
$(Q) sed '/^\s*$$/{ N; /^\s*\n\s*$$/D }' -i xgen-$(@F) # Compress multiple newlines
$(Q) mv xgen-$(@F) $@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]