The AM_V_GEN macro fits more cleanly with the automake silent rules
option.  When enabled it will print "GEN <filename>" instead of simply
echoing the command as before.

Signed-off-by: Ethan Jackson <[email protected]>
---
 Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 4299a23..32775cc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -141,10 +141,9 @@ SUFFIXES += .in
                 -e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \
             > [email protected]
        @if head -n 1 [email protected] | grep '#!' > /dev/null; then \
-           echo chmod +x [email protected]; \
            chmod +x [email protected]; \
        fi
-       mv [email protected] $@
+       $(AM_V_GEN) mv [email protected] $@
 
 .PHONY: clean-pycov
 clean-pycov:
@@ -262,7 +261,8 @@ manpage-check: $(man_MANS) $(dist_man_MANS) 
$(noinst_man_MANS)
                if grep warning: [email protected]; then error=:; fi; \
                rm -f [email protected]; \
        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
 
-- 
1.8.1.2

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to