[MPlayer-cvslog] r26601 - trunk/Makefile

diego subversion at mplayerhq.hu
Wed Apr 30 12:57:45 CEST 2008


Author: diego
Date: Wed Apr 30 12:57:45 2008
New Revision: 26601

Log:
Rebuild version.h only when the working directory was updated.


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Wed Apr 30 12:57:45 2008
@@ -719,8 +719,11 @@ $(DEPS) recurse: help_mp.h version.h cod
 dep depend: $(DEPS)
 	for part in $(PARTS); do $(MAKE) -C $$part depend; done
 
-# rebuild at every config.h/config.mak change:
-version.h: config.h config.mak
+# 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 `$(CC) -dumpversion`
 
 help_mp.h: help/help_mp-en.h $(HELP_FILE)



More information about the MPlayer-cvslog mailing list