Merge commit '4104cc56225f29ce1cded8b2876f8748460232a6'
authorJames Almer <jamrial@gmail.com>
Thu, 13 Apr 2017 20:06:05 +0000 (17:06 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 13 Apr 2017 20:06:05 +0000 (17:06 -0300)
* commit '4104cc56225f29ce1cded8b2876f8748460232a6':
  build: Warn that reconfiguration is necessary if version.h files changed

Merged-by: James Almer <jamrial@gmail.com>
Makefile

index aa23251..99fc920 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -81,13 +81,14 @@ tools/uncoded_frame$(EXESUF): ELIBS = $(FF_EXTRALIBS)
 
 CONFIGURABLE_COMPONENTS =                                           \
     $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/all*.c))                 \
+    $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/version.h))              \
     $(SRC_PATH)/libavcodec/bitstream_filters.c                      \
     $(SRC_PATH)/libavformat/protocols.c                             \
 
 config.h: .config
 .config: $(CONFIGURABLE_COMPONENTS)
        @-tput bold 2>/dev/null
-       @-printf '\nWARNING: $(?F) newer than config.h, rerun configure\n\n'
+       @-printf '\nWARNING: $(?) newer than config.h, rerun configure\n\n'
        @-tput sgr0 2>/dev/null
 
 SUBDIR_VARS := CLEANFILES EXAMPLES FFLIBS HOSTPROGS TESTPROGS TOOLS      \