diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-30 10:57:45 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-30 10:57:45 +0000 |
commit | 63ffa0af9ebf1b9ab29a545b1457acb9ef022a4e (patch) | |
tree | 4f01ce472952b07ea248c934b82e498acac655a8 /Makefile | |
parent | c785db9a0b0c3669a83e4afc650cfecee472cdce (diff) | |
download | mpv-63ffa0af9ebf1b9ab29a545b1457acb9ef022a4e.tar.bz2 mpv-63ffa0af9ebf1b9ab29a545b1457acb9ef022a4e.tar.xz |
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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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) |