summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/Makefile
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2015-07-08 21:06:44 +0200
committerJonathan Corbet <corbet@lwn.net>2015-07-10 19:03:11 +0200
commit32c1735c4091ef0de8e39f68a9d83a07450b959b (patch)
tree9349f9d9b009d450d1e459c70c3b9b22c23e7531 /Documentation/DocBook/Makefile
parentscripts/kernel-doc: parse kernel-doc deterministically (diff)
downloadlinux-32c1735c4091ef0de8e39f68a9d83a07450b959b.tar.xz
linux-32c1735c4091ef0de8e39f68a9d83a07450b959b.zip
DocBook: Don't store mtime (or name) in compressed man pages
The mtime on a man page is the build time. As gzip stores the mtime and original name in the compressed file by default, this makes compressed man pages unreproducible. Neither of these are important metadata in this case, so turn this off. Reported-by: Jérémy Bobbio <lunar@debian.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/DocBook/Makefile')
-rw-r--r--Documentation/DocBook/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index b6a6a2e0dd3b..11a41456b943 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -56,7 +56,7 @@ htmldocs: $(HTML)
MAN := $(patsubst %.xml, %.9, $(BOOKS))
mandocs: $(MAN)
- find $(obj)/man -name '*.9' | xargs gzip -f
+ find $(obj)/man -name '*.9' | xargs gzip -nf
installmandocs: mandocs
mkdir -p /usr/local/man/man9/