groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/08: doc/automake.mom: Sync example with current src.


From: G. Branden Robinson
Subject: [groff] 02/08: doc/automake.mom: Sync example with current src.
Date: Thu, 29 Jul 2021 05:29:28 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit cbeb801c31db26c472feac61c4e4a5dc2282de53
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Jul 28 15:41:23 2021 +1000

    doc/automake.mom: Sync example with current src.
---
 doc/automake.mom | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/doc/automake.mom b/doc/automake.mom
index ed30b15..8396340 100644
--- a/doc/automake.mom
+++ b/doc/automake.mom
@@ -431,20 +431,23 @@ src/devices/gropdf/gropdf.am:
 bin_SCRIPTS += gropdf pdfmom
   [...]
 gropdf: $(gropdf_dir)/gropdf.pl $(SH_DEPS_SED_SCRIPT)
-        rm -f $@
+        $(AM_V_GEN)$(RM) $@ \\
         sed -f $(SH_DEPS_SED_SCRIPT) \\
             -e "s|[@]VERSION[@]|$(VERSION)|" \\
             -e "s|[@]PERL[@]|$(PERL)|" \\
             -e "s|[@]GROFF_FONT_DIR[@]|$(fontpath)|" \\
-            -e "s|[@]RT_SEP[@]|$(RT_SEP)|" $(gropdf_dir)/gropdf.pl >$@
-        chmod +x $@
+            -e "s|[@]RT_SEP[@]|$(RT_SEP)|" $(gropdf_dir)/gropdf.pl \\
+            >$@ \
+        && chmod +x $@
 
 pdfmom: $(gropdf_dir)/pdfmom.pl $(SH_DEPS_SED_SCRIPT)
-        rm -f $@
+        $(AM_V_GEN)$(RM) $@ \\
         sed -f $(SH_DEPS_SED_SCRIPT) \\
             -e "s|[@]VERSION[@]|$(VERSION)|" \\
-            -e "s|[@]PERL[@]|$(PERL)|" $(gropdf_dir)/pdfmom.pl >$@
-        chmod +x $@
+            -e "s|[@]RT_SEP[@]|$(RT_SEP)|" \\
+            -e "s|[@]PERL[@]|$(PERL)|" $(gropdf_dir)/pdfmom.pl \\
+            >$@
+        && chmod +x $@
 .QUOTE OFF
 .QUOTE_INDENT 2m
 .CODE_SIZE 100



reply via email to

[Prev in Thread] Current Thread [Next in Thread]