diff Makefile @ 18015:86bf841af3e7

further fixes..
author rfelker
date Sun, 02 Apr 2006 07:30:40 +0000
parents 0d380174f01f
children cddd588f8d8a
line wrap: on
line diff
--- a/Makefile	Sun Apr 02 07:18:53 2006 +0000
+++ b/Makefile	Sun Apr 02 07:30:40 2006 +0000
@@ -523,8 +523,7 @@
 
 dep:	depend
 
-depend: help_mp.h
-	./version.sh `$(CC) -dumpversion`
+depend:
 	$(CC) -MM $(CFLAGS) -DCODECS2HTML mplayer.c mencoder.c $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend
 	@for a in $(PARTS); do $(MAKE) -C $$a dep; done
 
@@ -534,8 +533,6 @@
 	@echo "####### Please run ./configure again - it's changed! #######"
 	@echo "############################################################"
 
-# do not rebuild after cvs commits if .developer file is present!
-
 # rebuild at every config.h/config.mak change:
 version.h:
 	./version.sh `$(CC) -dumpversion`
@@ -570,6 +567,9 @@
 # explicit dependencies to force version.h to be built even if .depend is missing
 mplayer.o mencoder.o vobsub.o: version.h
 
+# temporary measure to make sure help_mp.h is built. we desperately need correct deps!
+$(MPLAYER_DEP) $(MENCODER_DEP): help_mp.h
+
 #
 # the following lines provide _partial_ dependency information
 # for the 'library' directories under main dir, in order to cause