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

Use -r . rather than -r tip.

This commit is contained in:
Micah Cowan 2007-10-16 18:18:40 -07:00
parent d72a50d496
commit d48ea51666

View File

@ -48,10 +48,10 @@ EXTRA_wget_SOURCES = mswindows.c
LDADD = $(ALLOCA) $(LIBOBJS) ../lib/libgnu.a LDADD = $(ALLOCA) $(LIBOBJS) ../lib/libgnu.a
AM_CPPFLAGS = -I$(top_srcdir)/lib AM_CPPFLAGS = -I$(top_srcdir)/lib
version.c: $(wget_SOURCES) $(LDADD) version.c: $(wget_SOURCES) $(LDADD) $(srcdir)/Makefile.am
printf '%s' 'const char *version_string = "@VERSION@' > $@ echo 'const char *version_string = "@VERSION@"' > $@
-hg log -r tip --template=' ({node|short})' >> $@ -hg log -r . --template='" ({node|short})"\n' 2>/dev/null >> $@
printf '%s\n' '";' >> $@ echo ';' >> $@
check_LIBRARIES = libunittest.a check_LIBRARIES = libunittest.a
libunittest_a_SOURCES = $(wget_SOURCES) test.c test.h libunittest_a_SOURCES = $(wget_SOURCES) test.c test.h