Re: man-pages-posix: POSIX book build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Brian,

On 2023-08-13 23:04, Brian Inglis wrote:
> Hi folks,
> 
> Just to see if making a POSIX book works, I copied 1.23.0 LinuxManBook as 
> PosixManBook, BuildLinuxMan.pl to BuildPosixMan.pl, LMBfront.t to PMBfront.t 
> with content changes, added sections "[013]p" and made other obvious perl script 
> edits '%s/Linux/Posix/g', '%s/LMB/PMB/g'.
> 
> When I ran the perl script, eqn was growing into the GB memory, and eqn and 
> troff were each hogging a cpu, so I left it running while we were out at dinner 
> with friends, but *eqn* died after apparently exhausting all memory and using 
> 48GB page space, getting as far as limits.h(0p) for a 57 page PDF!

Huh!

If you want to tinker with the Linux man-pages Makefile, it may be useful to your
experiment.

$ # run the following from the root of the Linux man-pages repository.
$ make -kj lint build check MANDIR=../../man-pages-posix/man-pages-posix-2017/

This works.  It gets many warnings, of course, but it builds PDF files of every
page, among PS, HTML, and a lot more stuff.  You may be able to tweak the
makefiles to build a book.  If you get to that, please send the patches =)

I attached one of the pages (from man-pages-posix-2003).  (Oh boy, did I ever
mention that I like bzero(3)? :D).

As mentioned recently in the list, you can use the Linux man-pages Makefile to
lint and build PDF, PS, and HTML pages of every project (or at least of every
project I tried).  If any project fails, I'm interested in making it work, so
please report.

Cheers,
Alex

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: bzero.3p.pdf
Description: Adobe PDF document

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux