1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Don't invoke hg to set version string.

This commit is contained in:
Giuseppe Scrivano 2011-08-11 10:26:43 +02:00
parent 5eb9c28b31
commit a73e3a914e
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2011-08-11 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am (version.c): Don't invoke hg to set version string.
2011-08-10 Giuseppe Scrivano <gscrivano@gnu.org>
Fix a linker error on systems with an older gnutls version.

View File

@ -71,10 +71,7 @@ version.c: $(wget_SOURCES) ../lib/libgnu.a
echo '/* version.c */' > $@
echo '/* Autogenerated by Makefile - DO NOT EDIT */' >> $@
echo '' >> $@
echo 'const char *version_string = "@VERSION@"' >> $@
-hg log -R "$(top_srcdir)" -r . --template='" ({node|short})"\n' \
2>/dev/null >> $@
echo ';' >> $@
echo 'const char *version_string = "@VERSION@";' >> $@
echo 'const char *compilation_string = "'$(COMPILE)'";' \
| $(ESCAPEQUOTE) >> $@
echo 'const char *link_string = "'$(CCLD) $(AM_CFLAGS) $(CFLAGS) \