gbranden pushed a commit to branch master
in repository groff.
commit 5f6104b10d92159a952f1e3a22dc189d587a3dd6
Author: Bruno Haible <[email protected]>
AuthorDate: Thu Aug 6 22:54:14 2026 +0200
doc/doc.am: Strip `%%CreationDate` from EPS file.
* doc/doc.am ($(DOC_LINE_LAYOUT_EPS)): Remove the %%CreationDate line
from the generated PostScript.
[I excerpted this change from a much more extensive revision of
"doc/doc.am" that Bruno proposed in
<https://lists.gnu.org/archive/html/groff/2026-08/msg00039.html>. This
change should also have the benefit of keeping the groff build
reproducible. --GBR]
---
ChangeLog | 5 +++++
doc/doc.am | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 411f24c48..2d59f5964 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-08-06 Bruno Haible <[email protected]>
+
+ * doc/doc.am ($(DOC_LINE_LAYOUT_EPS)): Remove the %%CreationDate
+ line from the generated PostScript.
+
2026-10-11 G. Branden Robinson <[email protected]>
* tmac/an.tmac (an*check-legacy-argument-count): New macro
diff --git a/doc/doc.am b/doc/doc.am
index bbb099f6a..8220a5dff 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -942,7 +942,8 @@ $(DOC_LINE_LAYOUT_EPS): $(DOC_LINE_LAYOUT_ROFF) pic groff
troff grops \
>$(DOC_LL).ps \
&& gs -q -dNOPAUSE -sDEVICE=bbox -- $(DOC_LL).ps \
2> $(DOC_LL).bbox \
- && sed -e '/^%%Orientation/r $(DOC_LL).bbox' \
+ && sed -e '/^%%CreationDate/d' \
+ -e '/^%%Orientation/r $(DOC_LL).bbox' \
-e '/^%!PS-Adobe-3.0/s/$$/ EPSF-3.0/' $(DOC_LL).ps >[email protected] \
&& $(RM) $(DOC_LL).ps $(DOC_LL).bbox \
&& mv [email protected] $@
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit