mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 13:14:36 +00:00
Rebuild version.h only when the working directory was updated.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26601 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c785db9a0b
commit
63ffa0af9e
7
Makefile
7
Makefile
@ -719,8 +719,11 @@ $(DEPS) recurse: help_mp.h version.h codecs.conf.h
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user