mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-25 05:13:15 +00:00
Use changelog time rather than file time, since git does not preserve time stamps
This commit is contained in:
parent
77c6b0275b
commit
2c6bb3339b
@ -2201,13 +2201,15 @@ XSLTPROC_FLAGS = \
|
||||
--nonet \
|
||||
--stringparam funcsynopsis.style ansi
|
||||
|
||||
T=$(shell dpkg-parsechangelog | awk -F": " '$$1 == "Date" { print $$2 }')
|
||||
|
||||
XSLTPROC_PROCESS_MAN = \
|
||||
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
|
||||
TZ=UTC faketime "`stat -c %y $<`" $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
||||
TZ=UTC faketime "$(T)" $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
||||
|
||||
XSLTPROC_PROCESS_HTML = \
|
||||
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
|
||||
TZ=UTC faketime "`stat -c %y $<`" $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
|
||||
TZ=UTC faketime "$(T)" $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $<
|
||||
|
||||
man/%.1: man/%.xml
|
||||
$(XSLTPROC_PROCESS_MAN)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user