changeset 33583:a39c61198f93

build: Simplify version.h dependency generation.
author diego
date Sun, 19 Jun 2011 17:33:16 +0000
parents d9a4365d1006
children deedeb235cac
files Makefile
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Jun 19 17:33:11 2011 +0000
+++ b/Makefile	Sun Jun 19 17:33:16 2011 +0000
@@ -839,10 +839,7 @@
 	help/help_create.sh $(HELP_FILE) $(CHARSET)
 
 # rebuild version.h each time the working copy is updated
-ifeq ($(wildcard .svn/entries),.svn/entries)
-version.h: .svn/entries
-endif
-version.h: version.sh
+version.h: version.sh $(wildcard .svn/entries)
 	./$< `$(CC) -dumpversion`
 
 %$(EXESUF): %.c