[SCM] GNU Mailutils branch, master, updated. release-2.2-92-gd72be10
"Sergey Poznyakoff" <[email protected]>
| Newsgroups | gmane.comp.gnu.mailutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
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 "GNU Mailutils".
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=d72be105ae0d6bb538b3236466219a2f71538ecf
The branch, master has been updated
via d72be105ae0d6bb538b3236466219a2f71538ecf (commit)
from 4bd61c62ed2208024109869c306467aa4511c0c0 (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 -----------------------------------------------------------------
commit d72be105ae0d6bb538b3236466219a2f71538ecf
Author: Sergey Poznyakoff <[email protected]>
Date: Sun Sep 19 12:54:08 2010 +0300
Avoid unnecessary rebuilds of git-describe and git-describe.h
* Makefile.am: Avoid unnecessary rebuilds of git-describe and git-describe.h
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index e5c9423..78196e2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -161,7 +161,10 @@ git-describe:
dirty=`git diff-index --name-only HEAD 2>/dev/null` || dirty=;\
test -n "$$dirty" && dirty="-dirty"; \
descr=`git describe`; \
- echo $${descr}$$dirty > git-describe; \
+ echo $${descr}$$dirty > git-describe.tmp; \
+ test -f git-describe && cmp git-describe.tmp git-describe || \
+ cp git-describe.tmp git-describe; \
+ rm git-describe.tmp; \
fi
dist-hook: ChangeLog git-describe
@@ -179,7 +182,10 @@ git-describe.h: git-describe
sed '1s/.*/#define GIT_DESCRIBE "&"/' $(srcdir)/git-describe; \
else \
echo "/* No git tag */"; \
- fi > git-describe.h
+ fi > git-describe.h.tmp; \
+ test -f git-describe.h && cmp git-describe.h.tmp git-describe.h || \
+ cp git-describe.h.tmp git-describe.h; \
+ rm git-describe.h.tmp
alpha: git-describe
$(AM_V_GEN)if test -f $(srcdir)/git-describe; then \
hooks/post-receive
--
GNU Mailutils