diff options
author | Ludovic Courtès | 2015-03-11 17:19:10 +0100 |
---|---|---|
committer | Ludovic Courtès | 2015-03-11 17:19:10 +0100 |
commit | 2e935aed4c8536da73b855ad869b654fcdcf2956 (patch) | |
tree | 0e5dc425f59b2b921eb4c7cd2b005cf4be2978d1 | |
parent | 40c65814aece83823982357320e7d2a958af2977 (diff) | |
download | skribilo-2e935aed4c8536da73b855ad869b654fcdcf2956.tar.gz skribilo-2e935aed4c8536da73b855ad869b654fcdcf2956.tar.lz skribilo-2e935aed4c8536da73b855ad869b654fcdcf2956.zip |
build: Add silent rules for the manual.
* doc/user/Makefile.am (AM_V_SKRINFO, AM_V_SKRINFO_, AM_V_SKRINFO_0,
AM_V_SKRHTML, AM_V_SKRHTML_, AM_V_SKRHTML_0): New variables.
(skribilo.info, .skb.html): Use them.
(AM_V_SKRLOUT, AM_V_SKRLOUT_, AM_V_SKRLOUT_0, AM_V_LOUT, AM_V_LOUT_,
AM_V_LOUT_0): New variables.
(.lout.ps, .skb.lout): Use them.
-rw-r--r-- | doc/user/Makefile.am | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am index 3c07297..13fb223 100644 --- a/doc/user/Makefile.am +++ b/doc/user/Makefile.am @@ -70,21 +70,39 @@ endif load_path = $(top_srcdir)/doc/modules load_compiled_path = $(top_builddir)/doc/modules +# Silent rules. + +AM_V_SKRINFO = $(AM_V_SKRINFO_$(V)) +AM_V_SKRINFO_ = $(AM_V_SKRINFO_$(AM_DEFAULT_VERBOSITY)) +AM_V_SKRINFO_0 = @echo " SKRINFO" $@; + +AM_V_SKRHTML = $(AM_V_SKRHTML_$(V)) +AM_V_SKRHTML_ = $(AM_V_SKRHTML_$(AM_DEFAULT_VERBOSITY)) +AM_V_SKRHTML_0 = @echo " SKRHTML" $@; + skribilo.info: user.skb - GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \ + $(AM_V_SKRINFO)GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \ GUILE_LOAD_COMPILED_PATH=$(load_compiled_path):$$GUILE_LOAD_COMPILED_PATH \ GUILE_AUTO_COMPILE=0 \ $(skribilo) $(skrflags) --target=info -o $@ $< .skb.html: - GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \ + $(AM_V_SKRHTML)GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \ GUILE_LOAD_COMPILED_PATH=$(load_compiled_path):$$GUILE_LOAD_COMPILED_PATH \ GUILE_AUTO_COMPILE=0 \ $(skribilo) $(skrflags) --target=html -o $@ $< if HAVE_LOUT +AM_V_SKRLOUT = $(AM_V_SKRLOUT_$(V)) +AM_V_SKRLOUT_ = $(AM_V_SKRLOUT_$(AM_DEFAULT_VERBOSITY)) +AM_V_SKRLOUT_0 = @echo " SKRLOUT" $@; + +AM_V_LOUT = $(AM_V_LOUT_$(V)) +AM_V_LOUT_ = $(AM_V_LOUT_$(AM_DEFAULT_VERBOSITY)) +AM_V_LOUT_0 = @echo " LOUT" $@; + CLEANFILES += user.lout user.lout.ld user.li user.lix if HAVE_PS2PDF @@ -96,7 +114,7 @@ CLEANFILES += $(ps_DATA) endif !HAVE_PS2PDF .lout.ps: - $(LOUT) -r4 -I$(srcdir)/lout -I$(builddir)/lout \ + $(AM_V_LOUT)$(LOUT) -r4 -I$(srcdir)/lout -I$(builddir)/lout \ -c $(@:%.ps=%) -o $@ $< # Variable substitution. @@ -115,7 +133,7 @@ if HAVE_PS2PDF endif .skb.lout: - GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \ + $(AM_V_SKRLOUT)GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \ GUILE_LOAD_COMPILED_PATH=$(load_compiled_path):$$GUILE_LOAD_COMPILED_PATH \ GUILE_AUTO_COMPILE=0 \ $(skribilo) $(skrflags) --target=lout -o $@ $< |