changeset 2929:c3459dcd54ac

mencoder+tv fix - do not rebuild after cvs change for developers
author alex
date Fri, 16 Nov 2001 20:54:53 +0000
parents 3f8798f1f4bc
children 511f8eba46be
files Makefile
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Nov 16 19:45:10 2001 +0000
+++ b/Makefile	Fri Nov 16 20:54:53 2001 +0000
@@ -21,7 +21,7 @@
 # a BSD compatible 'install' program
 INSTALL = install
 
-SRCS_MENCODER = divx4_vbr.c mencoder.c libvo/aclib.c libvo/img_format.c ima4.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c dec_audio.c dec_video.c msvidc.c codec-cfg.c cfgparser.c
+SRCS_MENCODER = libao2/afmt.c divx4_vbr.c mencoder.c libvo/aclib.c libvo/img_format.c ima4.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c dec_audio.c dec_video.c msvidc.c codec-cfg.c cfgparser.c my_profile.c
 OBJS_MENCODER = $(SRCS_MENCODER:.c=.o)
 
 SRCS_MPLAYER = mplayer.c ima4.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c find_sub.c dec_audio.c dec_video.c msvidc.c codec-cfg.c subreader.c lirc_mp.c cfgparser.c mixer.c spudec.c my_profile.c
@@ -197,16 +197,22 @@
 	@echo "############################################################"
 	@exit 1
 
+# do not rebuild after cvs commits if .developer file is present!
+
 # rebuild at every config.h/config.mak change:
 version.h: config.h config.mak Makefile
 	./version.sh
+ifeq ($(wildcard .developer),)
 	$(MAKE) distclean
+endif
 	$(MAKE) depend
 
 # rebuild at every CVS update:
+ifeq ($(wildcard .developer),)
 ifneq ($(wildcard CVS/Entries),)
 version.h: CVS/Entries
 endif
+endif
 
 #
 # include dependency files if they exist