Skip to content

More reproducible document builds

Ben Hutchings linux-kbuild 2 versions – Applied

Status from this message: Applied to the docs tree (part 1 went in a few weeks ago). Added

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v11 of 2 patches 5 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2Documentation: Avoid creating man pages in source treescripts/kernel-doc+5 -40 replies
2/2DocBook: Use a fixed encoding for outputDocumentation/DocBook/Makefile Makefile scripts/Makefile +1 more+23 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] More reproducible document builds

This series fixes a couple more reproducibility bugs:

1. The 'mandocs' target always creates dummy man pages in the source tree. Aside from their very existence being a nasty hack, and the wrong-ness of writing to the source tree, they contain a build timestamp and if we build a package of the source later it won't be reproducible. This moves them to the same place as all the other man pages are built.

(Moving the dummy man pages shouldn't cause a problem for reproducibility of the man page packages, because the dummies are in section 1 and not section 9. However the dummies still don't get cleaned properly.)

2. The current locale affects the encoding of HTML pages.

With these patches (and the previous set) applied, Debian's package of Linux 4.2 became fully reproducible.

v2: Rebase on 4.3-rc3.
Add an explanatory comment to check-lc_type.c.

Ben.

Ben Hutchings (2):
Documentation: Avoid creating man pages in source tree
DocBook: Use a fixed encoding for output

 Documentation/DocBook/Makefile |  6 ++++++
 Makefile                       |  2 +-
 scripts/Makefile               |  7 +++++--
 scripts/check-lc_ctype.c       | 11 +++++++++++
 scripts/kernel-doc             |  9 +++++----
 5 files changed, 28 insertions(+), 7 deletions(-)
 create mode 100644 scripts/check-lc_ctype.c
Signature · 2 lines
Ben Hutchings
All extremists should be taken out and shot.