changeset 18786:b77cdcb4fb6a

CVS --> Subversion + better version.h handling
author diego
date Thu, 22 Jun 2006 13:50:26 +0000
parents 4924941e1d19
children 5a2e45cd754f
files Makefile
diffstat 1 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jun 22 13:49:52 2006 +0000
+++ b/Makefile	Thu Jun 22 13:50:26 2006 +0000
@@ -522,14 +522,14 @@
 	$(CC) -MM $(CFLAGS) -DCODECS2HTML mplayer.c mencoder.c $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend
 	@for a in $(PARTS); do $(MAKE) -C $$a dep; done
 
-# ./configure must be run if it changed in CVS
+# ./configure must be rerun if it changed
 config.h: configure
 	@echo "############################################################"
 	@echo "####### Please run ./configure again - it's changed! #######"
 	@echo "############################################################"
 
-# rebuild at every config.h/config.mak change:
-version.h:
+# rebuild at every config.h/config.mak/Makefile change:
+version.h: config.h config.mak Makefile
 	./version.sh `$(CC) -dumpversion`
 
 doxygen:
@@ -553,12 +553,6 @@
 	@help/help_diff.sh $(HELP_FILE) < help/help_mp-en.h >> help_mp.h
 endif
 
-# rebuild at every CVS update or config/makefile change:
-#ifneq ($(wildcard CVS/Entries),)
-#version.h: CVS/Entries
-#endif
-version.h: config.h config.mak Makefile
-
 # explicit dependencies to force version.h to be built even if .depend is missing
 mplayer.o mencoder.o vobsub.o: version.h