and now with actual testing..

This commit is contained in:
Gunter Labes 2008-04-13 18:26:36 +00:00
parent 421db452d2
commit 9afa9c9ef3

View file

@ -318,7 +318,7 @@ game_config.o: revision.hpp
REVISION = $(shell svnversion -n $(topdir) 2>/dev/null)
.PRECIOUS: revision.hpp
revision.hpp: FORCE
if [ REVISION != "" ] && [ REVISION != "exported" ]; then echo '' >/tmp/westemp$$$$; \
if [ $(REVISION) == "" ] || [ $(REVISION) == "exported" ]; then echo '' >/tmp/westemp$$$$; \
else echo '#define REVISION "$(REVISION)"' >/tmp/westemp$$$$; fi;\
if cmp -s revision.hpp /tmp/westemp$$$$ 2>/dev/null; then :; else cp /tmp/westemp$$$$ revision.hpp; fi