[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70169] [PATCH v2 09/12] maint: Remove %%CreationDate from generated
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#70169] [PATCH v2 09/12] maint: Remove %%CreationDate from generated EPS files |
Date: |
Sat, 6 Apr 2024 23:18:01 +0200 |
* doc/local.mk (.dot.eps, png.eps): Remove %%CreationDate. Split single shell
command into separate recipe lines, prefixed by $(AM_V_at).
Change-Id: I5a03485c19c72f0c46411815c51290e52a8e5399
---
doc/local.mk | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/doc/local.mk b/doc/local.mk
index c355bec8d7..60e36091ce 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -152,12 +152,16 @@ DOT_OPTIONS = \
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
.dot.eps:
- $(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
- mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
+ $(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"
+ $(AM_V_at)grep -v ^%%CreationDate: "$(srcdir)/$@.tmp" >
"$(srcdir)/$@.tmp2"
+ $(AM_V_at)rm -f "$(srcdir)/$@.tmp"
+ $(AM_V_at)mv "$(srcdir)/$@.tmp2" "$@"
.png.eps:
- $(AM_V_GEN)convert "$<" "$@-tmp.eps"; \
- mv "$@-tmp.eps" "$@"
+ $(AM_V_GEN)convert "$<" "$@-tmp.eps"
+ $(AM_V_at)grep -v ^%%CreationDate: "$@-tmp.eps" > "$@-tmp2.eps"
+ $(AM_V_at)rm -f "$@-tmp.eps"
+ $(AM_V_at)mv "$@-tmp2.eps" "$@"
# We cannot add new dependencies to `%D%/guix.pdf' & co. (info "(automake)
# Extending"). Using the `-local' rules is imperfect, because they may be
--
2.41.0
[bug#70169] [PATCH v2 06/12] maint: Generate 'doc/version-LANG.texi' reproducibly., Janneke Nieuwenhuizen, 2024/04/06
[bug#70169] [PATCH v2 10/12] maint: Avoid PNG and PDF generation to fail silently., Janneke Nieuwenhuizen, 2024/04/06
[bug#70169] [PATCH v2 03/12] maint: Generate 'doc/version.texi' reproducibly., Janneke Nieuwenhuizen, 2024/04/06
[bug#70169] [PATCH v2 08/12] maint: Use reproducible Git timestamp for POT-Creation-Date., Janneke Nieuwenhuizen, 2024/04/06
[bug#70169] [PATCH v2 05/12] maint: Generate AUTHORS and ChangeLog reproducibly., Janneke Nieuwenhuizen, 2024/04/06
[bug#70169] [PATCH v2 07/12] maint: Use xgettext.scm wrapper to create .PO files reproducibly., Janneke Nieuwenhuizen, 2024/04/06
[bug#70169] [PATCH v2 09/12] maint: Remove %%CreationDate from generated EPS files,
Janneke Nieuwenhuizen <=
[bug#70169] [PATCH v2 11/12] maint: Reset CreationDate metadata on generated PDFs., Janneke Nieuwenhuizen, 2024/04/06
[bug#70169] [PATCH v2 12/12] maint: Ensure generated file reproducibility for dist., Janneke Nieuwenhuizen, 2024/04/06
[bug#70169] [PATCH v2 13/12] doc: Use "dejavu sans" instead of "Helvetica" or "sans" in dot images., Janneke Nieuwenhuizen, 2024/04/07