[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 02/02: [doc] fix non-portable syntax in the meintro_fr.ps target
From: |
Ingo Schwarze |
Subject: |
[groff] 02/02: [doc] fix non-portable syntax in the meintro_fr.ps target |
Date: |
Tue, 22 Mar 2022 11:02:13 -0400 (EDT) |
schwarze pushed a commit to branch master
in repository groff.
commit 73a3b96287fc3d72478a5b5a7dc064e01bd2f9cb
Author: Ingo Schwarze <schwarze@openbsd.org>
AuthorDate: Tue Mar 22 15:58:28 2022 +0100
[doc] fix non-portable syntax in the meintro_fr.ps target
This rule requires DOC_GROFF and hence $<, so turn it into a suffix rule.
OK gbranden@
---
ChangeLog | 6 ++++++
doc/doc.am | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 8ff83fb5..00c9acc6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-03-22 Ingo Schwarze <schwarze@openbsd.org>
+
+ * doc/doc.am: fix non-portable syntax in the meintro_fr.ps
+ target: This rule requires DOC_GROFF and hence $<, so turn it
+ into a suffix rule.
+
2022-03-22 Ingo Schwarze <schwarze@openbsd.org>
* doc/doc.am: fix non-portable syntax in the doc/me*.me targets:
diff --git a/doc/doc.am b/doc/doc.am
index e3e48d16..e47fc497 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -254,7 +254,8 @@ doc/meref.me: $(doc_srcdir)/meref.me.in
# The me(7) intro French translation gets its own target rule because it
# needs the "-mfr" option.
-doc/meintro_fr.ps: doc/meintro_fr.me
+SUFFIXES += _fr.me _fr.ps
+_fr.me._fr.ps:
$(GROFF_V)$(MKDIR_P) `dirname $@` \
&& $(DOC_GROFF) -k -Tps -me -mfr >$@
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 02/02: [doc] fix non-portable syntax in the meintro_fr.ps target,
Ingo Schwarze <=