commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 06/09: * Makefile (gen-ChangeLog): Remove ChangeLog files first.


From: Samuel Thibault
Subject: [hurd] 06/09: * Makefile (gen-ChangeLog): Remove ChangeLog files first.
Date: Mon, 19 Dec 2016 16:36:03 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 5e2bbd8ae1229d55d18d46ed697c0aba3a191b35
Author: Thomas Schwinge <address@hidden>
Date:   Thu Dec 15 10:19:54 2016 +0100

    * Makefile (gen-ChangeLog): Remove ChangeLog files first.
---
 Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 97bd5c8..c2a405a 100644
--- a/Makefile
+++ b/Makefile
@@ -155,15 +155,14 @@ ChangeLog_files = \
 .PHONY: gen-ChangeLog
 gen-ChangeLog:
        $(AM_V_GEN)if test -d $(top_srcdir)/.git; then                  \
+         rm -f $(ChangeLog_files) &&                                   \
          (cd $(top_srcdir)/ &&                                         \
          ./gitlog-to-changelog --strip-tab                             \
            $(gen_start_commit).. &&                                    \
-         echo) >> cl-t &&                                              \
+         echo) >> ChangeLog &&                                         \
          for f in $(ChangeLog_files); do                               \
            (cd $(top_srcdir)/ &&                                       \
-           git show $(gen_start_commit):$$f) >> cl-t &&                \
-           rm -f $$f &&                                                \
-           mv cl-t $$f                                                 \
+           git show $(gen_start_commit):$$f) >> $$f                    \
            || exit $$?;                                                \
          done;                                                         \
        fi

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]