version.h depends on version.sh.
[ffmpeg.git] / common.mak
index 6d007cc..3f2a93f 100644 (file)
@@ -48,8 +48,8 @@ ifeq ($(wildcard $(SVN_ENTRIES)),$(SVN_ENTRIES))
 $(BUILD_ROOT_REL)/version.h: $(SVN_ENTRIES)
 endif
 
-$(BUILD_ROOT_REL)/version.h:
-       $(SRC_PATH)/version.sh $(SRC_PATH) $@ $(EXTRA_VERSION)
+$(BUILD_ROOT_REL)/version.h: $(SRC_PATH)/version.sh
+       $< $(SRC_PATH) $@ $(EXTRA_VERSION)
 
 install: install-libs install-headers