build: Print a message when generating version scripts
authorDiego Biurrun <diego@biurrun.de>
Tue, 24 May 2016 10:39:54 +0000 (12:39 +0200)
committerDiego Biurrun <diego@biurrun.de>
Sun, 29 May 2016 13:09:05 +0000 (15:09 +0200)
Makefile

index 1f79705..8e0cfce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -63,11 +63,11 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
        $(Q)echo '#include "$*.h"' >$@
 
 %.ver: %.v
-       $(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ | sed -e 's/:/:\
+       $(M)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ | sed -e 's/:/:\
 /' -e 's/; /;\
 /g' > $@
 
-%.c %.h: TAG = GEN
+%.c %.h %.ver: TAG = GEN
 
 AVPROGS-$(CONFIG_AVCONV)   += avconv
 AVPROGS-$(CONFIG_AVPLAY)   += avplay