[vlc-devel] commit: revision: work around JVLC tag pollution ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Sep 26 10:35:08 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Sep 26 11:34:29 2009 +0300| [e378e077a16312fad95f37cb527efb83eb3add72] | committer: Rémi Denis-Courmont
revision: work around JVLC tag pollution
Still plain git-describe is not fixed/fixable, which is hugely annoying
(I use it a lot).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e378e077a16312fad95f37cb527efb83eb3add72
---
src/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index d49d292..a508b86 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -511,14 +511,14 @@ revision.c: revision.txt
echo "const char psz_vlc_changeset[] = \"$$(cat revision.txt)\";" \
> revision.c
-revision.txt:
+revision.txt: Makefile.am
$(MAKE) stamp-revision
touch revision.txt
stamp-revision:
rm -f -- revision.tmp
(git --git-dir="$(top_srcdir)/.git/" describe --tags --long \
- --always || echo exported) > revision.tmp
+ --match '?.*.*' --always || echo exported) > revision.tmp
if diff revision.tmp revision.txt >/dev/null; then \
rm -f -- revision.tmp; \
else \
More information about the vlc-devel
mailing list