1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

CVS --> Subversion + better version.h handling

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18789 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-06-22 13:50:26 +00:00
parent f1682d9ec3
commit 0a8fb0f7db

View File

@ -522,14 +522,14 @@ depend: help_mp.h
$(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 @@ ifneq ($(HELP_FILE),help/help_mp-en.h)
@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