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

Man pages for "wm?" contain "@WML_VERSION@" instead of the version number #22

Closed xtaran closed 5 years ago

xtaran commented 5 years ago

Currently at least the man pages for wml, wmk, wmd and wmb contain @WML_VERSION@ instead of the WML version number. man ./wml_frontend/wml.1 (after cmake . && make in src/) yields:

WML(1)                                 EN Tools                                 WML(1)

NAME
       WML - Website META Language

VERSION
       @WML_VERSION@

SYNOPSIS
[…]

I'm not yet sure what's the reason for this, but I suspect that the POD in wm?.srcis taken before any replacement took part.

Seems to be buried somewhere down in the CMake includes.

shlomif commented 5 years ago

Thanks for the report!

shlomif commented 5 years ago

Should be fixed in 2f2a8aea6d9a0fc2232a0d7bae8f537662cbe7a9 - please test.

xtaran commented 5 years ago

Looks fine, thanks!