]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
add $(AM_V_GEN) to documentation generation Makefile targets.
authorStewart Smith <stewart@flamingspork.com>
Thu, 2 Aug 2012 14:05:36 +0000 (10:05 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 2 Aug 2012 14:05:36 +0000 (10:05 -0400)
This makes the V=1 or V=0 automake silent build options display (or hide)
the full command line used.

  GEN foo.bar

will be seen rather than the full command.

As with all automake silent rules, "make V=1" will output the full command.

doc/Makefile.am

index 6cdd66d517ddce26a4b563ba49ff6c84262143ba..51a3b57befb09998465dc6824c220c0fcf30b3d5 100644 (file)
@@ -47,7 +47,7 @@ asciidoc_product = $(nodist_man_MANS) $(doc_DATA)
 # Generate the html documentation from asciidoc, but don't do
 # machine-specific replacements yet
 $(html_in) :
-       $(top_srcdir)/doc/asciidoc-helper.sh html @ASCIIDOC@ $(top_srcdir)/doc/$@
+       $(AM_V_GEN)$(top_srcdir)/doc/asciidoc-helper.sh html @ASCIIDOC@ $(top_srcdir)/doc/$@
 
 tor.html.in : tor.1.txt
 torify.html.in : torify.1.txt
@@ -58,7 +58,7 @@ tor-fw-helper.html.in : tor-fw-helper.1.txt
 # Generate the manpage from asciidoc, but don't do
 # machine-specific replacements yet
 $(man_in) :
-       $(top_srcdir)/doc/asciidoc-helper.sh man @A2X@ $(top_srcdir)/doc/$@
+       $(AM_V_GEN)$(top_srcdir)/doc/asciidoc-helper.sh man @A2X@ $(top_srcdir)/doc/$@
 
 tor.1.in : tor.1.txt
 torify.1.in : torify.1.txt
@@ -69,10 +69,10 @@ tor-fw-helper.1.in : tor-fw-helper.1.txt
 # use ../config.status to swap all machine-specific magic strings
 # in the asciidoc with their replacements.
 $(asciidoc_product) :
-       if test -e $(top_srcdir)/doc/$@.in && ! test -e ./$@.in ; then \
+       $(AM_V_GEN)if test -e $(top_srcdir)/doc/$@.in && ! test -e ./$@.in ; then \
                cp $(top_srcdir)/doc/$@.in .; \
        fi
-       ../config.status --file=$@;
+       $(AM_V_GEN)../config.status --file=$@;
 
 tor.1 : tor.1.in
 torify.1 : torify.1.in