gbranden pushed a commit to branch master
in repository groff.
commit cbeb801c31db26c472feac61c4e4a5dc2282de53
Author: G. Branden Robinson <[email protected]>
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
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit