From 41032c035366c25547bc7ce470638624c23a405e Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Tue, 17 May 2011 00:12:50 +0100 Subject: Use "quietened" build if automake 1.11 was used. --- doc/hackersguide/Makefile.am | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'doc/hackersguide') diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am index e7e9289c4..f686f98f9 100644 --- a/doc/hackersguide/Makefile.am +++ b/doc/hackersguide/Makefile.am @@ -1,3 +1,4 @@ +include $(top_srcdir)/misc/Makefile.quiet include $(top_srcdir)/misc/Makefile.common hackersguide_docbook = hackersguide.docbook \ @@ -37,35 +38,39 @@ dist-hook: distclean-local: clean-docs +AM_V_FAKE = $(am__v_FAKE_$(V)) +am__v_FAKE_ = $(am__v_FAKE_$(AM_DEFAULT_VERBOSITY)) +am__v_FAKE_0 = @echo " FAKE " $@; + if HAVE_XMLTO hackersguide.html: $(hackersguide_docbook) - xmlto xhtml-nochunks "$(srcdir)/hackersguide.docbook" + $(AM_V_GEN)xmlto xhtml-nochunks "$(srcdir)/hackersguide.docbook" else hackersguide.html: $(hackersguide_docbook) - if test x"$(fail_if_missing)" = x"yes"; then \ + $(AM_V_FAKE)if test x"$(fail_if_missing)" = x"yes"; then \ echo "Please install xmlto."; \ exit 1; \ - fi + fi; \ if test x"$(fail_if_missing)" != x"yes"; then \ touch $@; \ sleep 1; \ touch $^; \ fi endif - $(SED) -i -e '/]*alt=/! s/]*alt=/! s/