From: Ethan Jackson Date: Wed, 22 Jan 2014 01:55:41 +0000 (-0800) Subject: Makefile: Use AM_V_GEN instead of echo. X-Git-Tag: sliver-openvswitch-2.1.90-1~8^2~43 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=be09aa10c5c244726f203eb7637fc86c87cc3841;p=sliver-openvswitch.git Makefile: Use AM_V_GEN instead of echo. The AM_V_GEN macro fits more cleanly with the automake silent rules option. When enabled it will print "GEN " instead of simply echoing the command as before. Signed-off-by: Ethan Jackson Acked-by: Ben Pfaff --- diff --git a/Makefile.am b/Makefile.am index 4299a23cd..32775ccc0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -141,10 +141,9 @@ SUFFIXES += .in -e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \ > $@.tmp @if head -n 1 $@.tmp | grep '#!' > /dev/null; then \ - echo chmod +x $@.tmp; \ chmod +x $@.tmp; \ fi - mv $@.tmp $@ + $(AM_V_GEN) mv $@.tmp $@ .PHONY: clean-pycov clean-pycov: @@ -262,7 +261,8 @@ manpage-check: $(man_MANS) $(dist_man_MANS) $(noinst_man_MANS) if grep warning: $@.tmp; then error=:; fi; \ rm -f $@.tmp; \ done; \ - if $$error; then exit 1; else echo touch $@; touch $@; fi + if $$error; then exit 1; else touch $@; fi + $(AM_V_GEN) touch -c $@ CLEANFILES += manpage-check endif