From: Jim Meyering Date: Tue, 15 Mar 2016 17:40:08 +0000 (-0700) Subject: maint: don't ignore gitlog-to-changelog failure X-Git-Tag: v1.7~10 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=617a2126636a37d66d07aecf70875d30cd4391f9;p=debian%2Fgzip maint: don't ignore gitlog-to-changelog failure * Makefile.am (gen-ChangeLog): Don't ignore failure of gitlog-to-changelog. This syncs to coreutils' copy of this rule. --- diff --git a/Makefile.am b/Makefile.am index dfed9aa..e892cdc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -98,9 +98,9 @@ gen_start_date = 2008-01-01 gen-ChangeLog: $(AM_V_GEN)if test -d .git; then \ $(top_srcdir)/build-aux/gitlog-to-changelog \ - --since=$(gen_start_date) > $(distdir)/cl-t; \ - rm -f $(distdir)/ChangeLog; \ - mv $(distdir)/cl-t $(distdir)/ChangeLog; \ + --since=$(gen_start_date) > $(distdir)/cl-t && \ + { rm -f $(distdir)/ChangeLog && \ + mv $(distdir)/cl-t $(distdir)/ChangeLog; } \ fi # Prepend "." to $PATH: