Test a simpler shell line.

This commit is contained in:
Eric S. Raymond 2008-01-26 18:57:31 +00:00
parent 8741e90268
commit 55415678ad

View file

@ -432,10 +432,8 @@ libwesnoth_a_SOURCES = \
wml_exception.cpp
# Should be touched each time the SVN revision number goes up
SVNREV = $(shell svnversion -n $(topdir) 2>/dev/null || unknown)
revision_stamp revision_stamp.hpp: FORCE
if [ ! -f revision_stamp.hpp -o x"$(SVNREV)" != x`cat revision_stamp 2>/dev/null` ]; then echo -n $(SVNREV) >revision_stamp; echo "#define SVNREV \"$(SVNREV)\"" >revision_stamp.hpp; fi
revision_stamp.hpp: FORCE
echo "#define SVNREV \"$(shell svnversion -n $(topdir) 2>/dev/null || unknown)\"" >revision_stamp.hpp
FORCE: