Hi Deri, I tried generating a PDF book from the Unix v10 manual pages, and found some issues with the Perl script. I don't understand Perl, as you know, so I don't know what to do. I've attached a tarball with the manual pages that I'm trying to handle. They're slightly modified V10 files, in order to make them slightly more conventional (e.g., the =.1 page is now called eq.1, and the manx/ dir and other dirs than didn't have a digit in their names are now divided into dirs that have one digit after the name (e.g., man1x/, ...)). The command I'm trying to run is: $ make -R build-pdf-book MANDIR=~/Downloads/unix/man/ (Of course, replace that path with wherever you untar the tarball.) The error I see is a forever loop (or so it seems) with the following error line: Use of uninitialized value $v in exists at /srv/alx/src/linux/man-pages/man-pages/contrib/share/mk/build/pdf/book/prepare.pl line 67. Would you mind having a look at it? In case it matters: alx@devuan:~$ groff --version GNU groff version 1.23.0.2695-49927 Copyright (C) 1989-2023 Free Software Foundation, Inc. This is free software, distributed under the terms of the GNU General Public License, version 3, or any later version, at your option. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. programs in constructed pipeline: GNU grops (groff) version 1.23.0.2695-49927 GNU troff (groff) version 1.23.0.2695-49927 Have a lovely day! Alex -- <https://www.alejandro-colomar.es/>
Attachment:
unix-v10-man.tar.gz
Description: application/tar-gz
Attachment:
signature.asc
Description: PGP signature