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:
parent
5eb9c28b31
commit
a73e3a914e
@ -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.
|
||||
|
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user