Commit e378e077 authored by Rémi Denis-Courmont's avatar 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).
parent de149843
......@@ -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 \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment