thewml / website-meta-language

An old offline HTML preprocessor (which can be used for static site generation), written in Perl and C that is still maintained for legacy reasons, but probably not recommended for new sites.
https://www.shlomifish.org/open-source/projects/website-meta-language/
GNU General Public License v2.0
14 stars 8 forks source link

Don't put the build directory name into man page title #20

Closed xtaran closed 5 years ago

xtaran commented 5 years ago

Also remove "Hoola" from the man page title and replace it with a proper man page name.

Without this patch the the head line of the wml(1) man page (as generated from POD by cmake/pod2man-wrapper.pl) looks like this:

HOOLA(1)                     EN Tools                     HOOLA(1)

And the man page wml::des::imgbg(3) looks even worse:

tmp::ho1p32hifo::Hoola(3)    EN Tools    tmp::ho1p32hifo::Hoola(3)

With this patch the man page titles look like they should:

WML(1)                       EN Tools                       WML(1)
wml::des::imgbg(3)           EN Tools           wml::des::imgbg(3)

Not having the build directory path in any of the resulting files is additionally necessary to make the build reproducible. See https://reproducible-builds.org/

P.S.: I've got one more patch wrt. to reproducible builds more or less ready. But since it solely removes stuff (which might be considered a feature), I'll file a separate pull request for it. (Edit: Became PR #21)