version.h should depend on config.mak.
authorDiego Biurrun <diego@biurrun.de>
Mon, 2 Mar 2009 09:33:57 +0000 (09:33 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 2 Mar 2009 09:33:57 +0000 (09:33 +0000)
The extra version string that is passed to configure is recorded in config.mak
and changes to config.mak can therefore make version.h rebuilds necessary.

Originally committed as revision 17730 to svn://svn.ffmpeg.org/ffmpeg/trunk

common.mak

index 4be056c..35c0579 100644 (file)
@@ -48,7 +48,7 @@ ifeq ($(wildcard $(SVN_ENTRIES)),$(SVN_ENTRIES))
 $(BUILD_ROOT_REL)/version.h: $(SVN_ENTRIES)
 endif
 
-$(BUILD_ROOT_REL)/version.h: $(SRC_PATH_BARE)/version.sh
+$(BUILD_ROOT_REL)/version.h: $(SRC_PATH_BARE)/version.sh config.mak
        $< $(SRC_PATH) $@ $(EXTRA_VERSION)
 
 install: install-libs install-headers