diff options
author | smatz <smatz@openttd.org> | 2008-07-31 20:09:54 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-07-31 20:09:54 +0000 |
commit | 2dedd3803a2aa5c5915db284bef3e5198470b332 (patch) | |
tree | d413ac518c19b2ab2803ae8892f671cc7b090167 /Makefile.src.in | |
parent | 513efe0fbe9ba2de3b733489af02cdc161ef5a9d (diff) | |
download | openttd-2dedd3803a2aa5c5915db284bef3e5198470b332.tar.xz |
(svn r13902) -Fix (r13375): rev.cpp wasn't recreated when --revision was used and the 'modified' status of sources changed
Diffstat (limited to 'Makefile.src.in')
-rw-r--r-- | Makefile.src.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.src.in b/Makefile.src.in index bac7dacb1..e4ac9c0e7 100644 --- a/Makefile.src.in +++ b/Makefile.src.in @@ -159,7 +159,7 @@ RES := $(shell if [ "`cat $(CONFIG_CACHE_ENDIAN) 2>/dev/null`" != "$(ENDIAN_FORC # If there is a change in the source-file-list, make sure we recheck the deps RES := $(shell if [ "`cat $(CONFIG_CACHE_SOURCE) 2>/dev/null`" != "$(SRCS)" ]; then echo "$(SRCS)" > $(CONFIG_CACHE_SOURCE); fi ) # If there is a change in the revision, make sure we recompile rev.cpp -RES := $(shell if [ "`cat $(CONFIG_CACHE_VERSION) 2>/dev/null`" != "$(REV)" ]; then echo "$(REV)" > $(CONFIG_CACHE_VERSION); fi ) +RES := $(shell if [ "`cat $(CONFIG_CACHE_VERSION) 2>/dev/null`" != "$(REV) $(MODIFIED)" ]; then echo "$(REV) $(MODIFIED)" > $(CONFIG_CACHE_VERSION); fi ) ifndef MAKEDEPEND # The slow, but always correct, dep-check |