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

Ignore failure from "hg id".

This commit is contained in:
Micah Cowan 2007-10-09 16:18:24 -07:00
parent 181c613814
commit 2681148154

View File

@ -52,7 +52,7 @@ HG_ID = $(shell hg id 2>/dev/null | cut -f 1 -d ' ')
.PHONY: version.c
version.c:
printf '%s' 'const char *version_string = "@VERSION@' > $@
[ "$(HG_ID)" ] && printf '%s' ' ($(HG_ID))' >> $@
-[ "$(HG_ID)" ] && printf '%s' ' ($(HG_ID))' >> $@
printf '%s\n' '";' >> $@
check_LIBRARIES = libunittest.a