wl pushed a commit to branch master in repository groff. commit a2cf09d557fca4f36095641b069b4f982660c1f9 Author: Werner Lemberg <w...@gnu.org> Date: Thu Mar 1 06:20:49 2018 +0100
Use $(AM_V_GEN) and $(AM_V_P) to silence even more file generation. * font/devpdf/devpdf.am (BuildFoundries, DESC, Foundry, build_font_files): Do it. --- ChangeLog | 7 +++++ font/devpdf/devpdf.am | 84 ++++++++++++++++++++++++++------------------------- 2 files changed, 50 insertions(+), 41 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6d94e7f..337bf08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2018-03-01 Werner LEMBERG <w...@gnu.org> + + Use $(AM_V_GEN) and $(AM_V_P) to silence even more file generation. + + * font/devpdf/devpdf.am (BuildFoundries, DESC, Foundry, + build_font_files): Do it. + 2018-02-28 Werner LEMBERG <w...@gnu.org> Use $(GROFF_V) to silence documentation creation. diff --git a/font/devpdf/devpdf.am b/font/devpdf/devpdf.am index b06af96..fa4005a 100644 --- a/font/devpdf/devpdf.am +++ b/font/devpdf/devpdf.am @@ -71,41 +71,39 @@ $(DEVPDFFONTMAP_1): font/devpdf/util/BuildFoundries: shdeps.sed \ $(devpdf_srcdir)/util/BuildFoundries.pl - @echo Making $@ - @$(MKDIR_P) $(top_builddir)/font/devpdf/util - @$(RM) $(top_builddir)/font/devpdf/util/BuildFoundries - @if test -n "$(PERL)"; then \ - sed -f $(SH_DEPS_SED_SCRIPT) \ - -e "s|/usr/bin/perl|$(PERL)|" \ - -e "s|[@]GROFF_GHOSTSCRIPT_INTERPRETERS[@]|$(GHOSTSCRIPT)|" \ - -e "s|[@]VERSION[@]|$(VERSION)|" \ - -e "s|[@]GROFF_FONT_DIR[@]|$(fontdir)|" \ - $(devpdf_srcdir)/util/BuildFoundries.pl \ - >$(top_builddir)/font/devpdf/util/BuildFoundries ;\ - else \ - sed -f $(SH_DEPS_SED_SCRIPT) \ - -e "s|[@]VERSION[@]|$(VERSION)|" \ - -e "s|[@]GROFF_FONT_DIR[@]|$(fontdir)|" \ - $(devpdf_srcdir)/util/BuildFoundries.pl \ - >$(top_builddir)/font/devpdf/util/BuildFoundries ;\ - fi - @chmod +x $(top_builddir)/font/devpdf/util/BuildFoundries + $(AM_V_GEN)$(MKDIR_P) $(top_builddir)/font/devpdf/util \ + && $(RM) $(top_builddir)/font/devpdf/util/BuildFoundries \ + && if test -n "$(PERL)"; then \ + sed -f $(SH_DEPS_SED_SCRIPT) \ + -e "s|/usr/bin/perl|$(PERL)|" \ + -e "s|[@]GROFF_GHOSTSCRIPT_INTERPRETERS[@]|$(GHOSTSCRIPT)|" \ + -e "s|[@]VERSION[@]|$(VERSION)|" \ + -e "s|[@]GROFF_FONT_DIR[@]|$(fontdir)|" \ + $(devpdf_srcdir)/util/BuildFoundries.pl \ + >$(top_builddir)/font/devpdf/util/BuildFoundries; \ + else \ + sed -f $(SH_DEPS_SED_SCRIPT) \ + -e "s|[@]VERSION[@]|$(VERSION)|" \ + -e "s|[@]GROFF_FONT_DIR[@]|$(fontdir)|" \ + $(devpdf_srcdir)/util/BuildFoundries.pl \ + >$(top_builddir)/font/devpdf/util/BuildFoundries; \ + fi \ + && chmod +x $(top_builddir)/font/devpdf/util/BuildFoundries font/devpdf/DESC: $(devpdf_srcdir)/DESC.in - @echo Making $@ - @$(MKDIR_P) $(top_builddir)/font/devpdf - @$(RM) $(top_builddir)/font/devpdf/DESC - @cat $(devpdf_srcdir)/DESC.in >$(top_builddir)/font/devpdf/DESC - @if test "$(PAGE)" = A4; then \ - echo "papersize a4" >>$(top_builddir)/font/devpdf/DESC; \ - else \ - echo "papersize letter" >>$(top_builddir)/font/devpdf/DESC; \ - fi + $(AM_V_GEN)$(MKDIR_P) $(top_builddir)/font/devpdf \ + && $(RM) $(top_builddir)/font/devpdf/DESC \ + && cat $(devpdf_srcdir)/DESC.in >$(top_builddir)/font/devpdf/DESC \ + && if test "$(PAGE)" = A4; then \ + echo "papersize a4" >>$(top_builddir)/font/devpdf/DESC; \ + else \ + echo "papersize letter" >>$(top_builddir)/font/devpdf/DESC; \ + fi font/devpdf/Foundry: - @$(RM) $(top_builddir)/font/devpdf/Foundry - @sed "s|[@]urwfontsdir[@]|$(urwfontsdir)|" \ - $(devpdf_srcdir)/Foundry.in >$(top_builddir)/$@ + $(AM_V_GEN)$(RM) $(top_builddir)/font/devpdf/Foundry \ + && sed "s|[@]urwfontsdir[@]|$(urwfontsdir)|" \ + $(devpdf_srcdir)/Foundry.in >$(top_builddir)/$@ all: font/devpdf/build_font_files @@ -114,16 +112,20 @@ all: font/devpdf/build_font_files font/devpdf/build_font_files: afmtodit font/devpdf/DESC \ $(devpdffontenc_DATA) $(devpdffontmap_DATA) $(devpdffont_DATA) \ font/devpdf/util/BuildFoundries - @echo Making all fonts - @$(RM) $@ - @$(MKDIR_P) $(top_builddir)/font/devpdf - @echo "# foundry ps name psfile" > $(top_builddir)/font/devpdf/download - PATH="$(abs_top_builddir)$(GROFF_PATH_SEPARATOR)$(abs_top_builddir)/build-aux$(GROFF_PATH_SEPARATOR)$(PATH)" \ - $(abs_top_builddir)/font/devpdf/util/BuildFoundries \ - $(abs_top_builddir)/font/devpdf \ - '$(abs_top_srcdir)/font/devps : $(abs_top_builddir)/font/devps' \ - >> $(top_builddir)/font/devpdf/download - @touch $@ + @if $(AM_V_P); then \ + set -x; \ + else \ + echo " GEN $(top_builddir)/font/devpdf/download"; \ + fi \ + && $(RM) $@ \ + && $(MKDIR_P) $(top_builddir)/font/devpdf \ + && echo "# foundry ps name psfile" > $(top_builddir)/font/devpdf/download \ + && PATH="$(abs_top_builddir)$(GROFF_PATH_SEPARATOR)$(abs_top_builddir)/build-aux$(GROFF_PATH_SEPARATOR)$(PATH)" \ + $(abs_top_builddir)/font/devpdf/util/BuildFoundries \ + $(abs_top_builddir)/font/devpdf \ + '$(abs_top_srcdir)/font/devps : $(abs_top_builddir)/font/devps' \ + >> $(top_builddir)/font/devpdf/download \ + && touch $@ mostlyclean-local: mostlyclean_devpdf_extra mostlyclean_devpdf_extra: _______________________________________________ Groff-commit mailing list Groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit