Hi,

it looks like most of the documentation related issues are now solved
by fixed toolchain packages.  But it still uses the embedded and
outdated copy of man2html, which doesn't support SOURCE_DATE_EPOCH yet.
The attached patch uses the system man2html instead of the embedded one.

After that, the only remaining issue is that the included header file
/usr/include/bash/config.h varies depending on the kernel version used
during build [1] (with kernel <4, PGRP_PIPE is defined).

Regards,
  Reiner

[1]: https://sources.debian.net/src/bash/4.3-14/configure.ac/#L1088
diff --git a/debian/control b/debian/control
index b16a1c0..2e873fc 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Matthias Klose <d...@debian.org>
 Standards-Version: 3.9.6
 Build-Depends: autoconf, autotools-dev, bison, libncurses5-dev,
  texinfo, texi2html, debhelper (>= 5), locales, gettext, sharutils, time,
- xz-utils, dpkg-dev (>= 1.16.1)
+ xz-utils, dpkg-dev (>= 1.16.1), man2html
 Build-Depends-Indep: texlive-latex-base, ghostscript, texlive-fonts-recommended
 Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html
 Vcs-Browser: https://code.launchpad.net/~doko/+junk/pkg-bash-debian
diff --git a/debian/rules b/debian/rules
index 201eddf..3e78d6b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -136,7 +136,7 @@ static-configure:
 bash-doc-build: stamps/stamp-build-bash-doc
 stamps/stamp-build-bash-doc:
 	rm -f bash/doc/bashref.info
-	$(MAKE) -C build-bash/doc info html
+	$(MAKE) -C build-bash/doc info html MAN2HTML=/usr/bin/man2html
 	$(MAKE) -C build-bash/doc bash.pdf bashref.pdf
 	touch stamps/stamp-build-bash-doc
 

Attachment: signature.asc
Description: PGP signature

Reply via email to