nmh-commits
[Top][All Lists]
Advanced

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

[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated


From: David Levine
Subject: [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. c8206d4f567151065bc8d896bbd6273bf12dbae3
Date: Sat, 28 Jan 2012 19:53:07 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The nmh Mail Handling System".

The branch, master has been updated
       via  c8206d4f567151065bc8d896bbd6273bf12dbae3 (commit)
      from  dbc14a2e9087e21b58f062055a7a797d8aae3198 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=c8206d4f567151065bc8d896bbd6273bf12dbae3


commit c8206d4f567151065bc8d896bbd6273bf12dbae3
Author: David Levine <address@hidden>
Date:   Sat Jan 28 13:52:59 2012 -0600

    Made ChangeLog phony so it will always get regenerated.  But don't try to 
regenerated if git repository is not present.

diff --git a/Makefile.am b/Makefile.am
index 1a93d89..cd3c886 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -486,8 +486,12 @@ man/man.sed: Makefile
 
 ## Don't include commit hashes in ChangeLog.
 ChangeLog:
-       @git --no-pager log --abbrev-commit | \
-           egrep -v '^commit [0-9a-f]+$$' > $@
+       @[ -d .git ]  &&  git --no-pager log --abbrev-commit | \
+           egrep -v '^commit [0-9a-f]+$$' > $@  ||  true
+## Make ChangeLog phony so it will always get regenerated.  But don't
+## fail if we don't have a git repository in order to allow
+## regeneration of distribution archive or RPM.
+.PHONY: ChangeLog
 
 ##
 ## Our RPM build target

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The nmh Mail Handling System



reply via email to

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