[vlc-devel] commit: Silent rules for revision ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Jan 31 11:56:32 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 31 12:56:20 2010 +0200| [e9a932b5b096a93a4635eeb834dd37d074ee27dc] | committer: Rémi Denis-Courmont
Silent rules for revision
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e9a932b5b096a93a4635eeb834dd37d074ee27dc
---
src/Makefile.am | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index fa26a9d..83a09f7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -528,19 +528,19 @@ BUILT_SOURCES += stamp-revision
CLEANFILES += revision.txt revision.c
revision.c: revision.txt
- rm -f -- revision.c
- echo "const char psz_vlc_changeset[] = \"$$(cat revision.txt)\";" \
+ $(AM_V_at)rm -f -- revision.c
+ $(AM_V_GEN)echo "const char psz_vlc_changeset[] = \"$$(cat revision.txt)\";" \
> revision.c
revision.txt: Makefile.am
- $(MAKE) stamp-revision
- touch revision.txt
+ $(AM_V_at)$(MAKE) stamp-revision
+ $(AM_V_GEN)touch revision.txt
stamp-revision:
- rm -f -- revision.tmp
- (git --git-dir="$(top_srcdir)/.git/" describe --tags --long \
+ $(AM_V_at)rm -f -- revision.tmp
+ $(AM_V_GEN)(git --git-dir="$(top_srcdir)/.git/" describe --tags --long \
--match '?.*.*' --always || echo exported) > revision.tmp
- if diff revision.tmp revision.txt >/dev/null; then \
+ $(AM_V_at)if diff revision.tmp revision.txt >/dev/null 2>&1; then \
rm -f -- revision.tmp; \
else \
mv -f -- revision.tmp revision.txt; \
More information about the vlc-devel
mailing list