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 <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
-e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \
> $@.tmp
@if head -n 1 $@.tmp | grep '#!' > /dev/null; then \
-e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \
> $@.tmp
@if head -n 1 $@.tmp | grep '#!' > /dev/null; then \
- echo chmod +x $@.tmp; \
+ $(AM_V_GEN) mv $@.tmp $@
.PHONY: clean-pycov
clean-pycov:
.PHONY: clean-pycov
clean-pycov:
if grep warning: $@.tmp; then error=:; fi; \
rm -f $@.tmp; \
done; \
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
CLEANFILES += manpage-check
endif