mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Remove intermediate hg-id.
This commit is contained in:
parent
f9b8427e1f
commit
7fb8b92cd5
@ -1,3 +1,8 @@
|
|||||||
|
2007-10-15 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
|
* Makefile.am: Remove intermediary hg-id file generation, make
|
||||||
|
version.c-generation more portable.
|
||||||
|
|
||||||
2007-10-14 Micah Cowan <micah@cowan.name>
|
2007-10-14 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
* cmpt.c, cookies.c, ftp-basic.c, ftp-ls.c, ftp.c, hash.c,
|
* cmpt.c, cookies.c, ftp-basic.c, ftp-ls.c, ftp.c, hash.c,
|
||||||
|
@ -48,16 +48,11 @@ 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: hg-id
|
version.c: $(wget_SOURCES) $(LDADD)
|
||||||
printf '%s' 'const char *version_string = "@VERSION@' > $@
|
printf '%s' 'const char *version_string = "@VERSION@' > $@
|
||||||
-HG_ID=$$(cat hg-id); [ "$$HG_ID" ] && printf '%s' " ($${HG_ID})" >> $@
|
-hg log -r tip --template=' ({node|short})' >> $@
|
||||||
printf '%s\n' '";' >> $@
|
printf '%s\n' '";' >> $@
|
||||||
|
|
||||||
.INTERMEDIATE: hg-id
|
|
||||||
.PHONY: hg-id
|
|
||||||
hg-id: $(wget_SOURCES) $(LDADD)
|
|
||||||
-( hg id | cut -f 1 -d ' ' ) 2>/dev/null > $@
|
|
||||||
|
|
||||||
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
|
||||||
libunittest_a_CPPFLAGS = -DTESTING
|
libunittest_a_CPPFLAGS = -DTESTING
|
||||||
|
Loading…
Reference in New Issue
Block a user