Message ID | 87sezxdqdt.fsf@gnu.org |
---|---|
State | New |
Headers | show |
Series | None | expand |
Janneke Nieuwenhuizen writes: Hi again, > pelzflorian (Florian Pelz) writes: > >> Janneke Nieuwenhuizen <janneke@gnu.org> writes: [..] >> Perhaps AM_V_DOT cannot be used after export TZ=UTC0;? > > Ah, that's not good. Apparently I ontly tested using V=2 in the end. > > I believe this should fix it Come to think of it, as we're removeing CreationDate anyway, setting TZ is quite unnecessary, and we can just do .dot.pdf: $(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp" [..] Thanks for looking into this!
diff --git a/doc/local.mk b/doc/local.mk index fffba409dc..0cdad3e58c 100644 --- a/doc/local.mk +++ b/doc/local.mk @@ -148,8 +148,8 @@ DOT_OPTIONS = \ $(AM_V_at)mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" .dot.pdf: - export TZ=UTC0; \ - $(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp" + $(AM_V_DOT)export TZ=UTC0; \ + $(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp" $(AM_V_at)sed -ri \ -e 's,(/CreationDate \(D:).*\),\119700101000000,' \ "$(srcdir)/$@.tmp"