janneke pushed a commit to branch wip-tarball
in repository guix.
commit 109c05ead54c3e48a8df27794c8df56149343a37
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Sat Apr 6 11:34:49 2024 +0200
maint: Remove %%CreationDate from generated EPS files
* 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)/[email protected]" "$(srcdir)/$@"
.dot.eps:
- $(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/[email protected]"; \
- mv "$(srcdir)/[email protected]" "$(srcdir)/$@"
+ $(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/[email protected]"
+ $(AM_V_at)grep -v ^%%CreationDate: "$(srcdir)/[email protected]" >
"$(srcdir)/[email protected]"
+ $(AM_V_at)rm -f "$(srcdir)/[email protected]"
+ $(AM_V_at)mv "$(srcdir)/[email protected]" "$@"
.png.eps:
- $(AM_V_GEN)convert "$<" "[email protected]"; \
- mv "[email protected]" "$@"
+ $(AM_V_GEN)convert "$<" "[email protected]"
+ $(AM_V_at)grep -v ^%%CreationDate: "[email protected]" > "[email protected]"
+ $(AM_V_at)rm -f "[email protected]"
+ $(AM_V_at)mv "[email protected]" "$@"
# We cannot add new dependencies to `%D%/guix.pdf' & co. (info "(automake)
# Extending"). Using the `-local' rules is imperfect, because they may be