]> git.ipfire.org Git - thirdparty/man-pages.git/commit
share/mk/: build-book, build-man, install-man: Specify version and date
authorAlejandro Colomar <alx@kernel.org>
Wed, 20 Mar 2024 14:56:21 +0000 (15:56 +0100)
committerAlejandro Colomar <alx@kernel.org>
Wed, 20 Mar 2024 23:03:20 +0000 (00:03 +0100)
commit63d245abf67fc182bd29e2a2c0972a02d93de1fb
tree108eae635574e9741216ecafe3a6705bd1fd1a45
parent1bd48bd90b7af5f3cd908c6ad0ed226ec153b081
share/mk/: build-book, build-man, install-man: Specify version and date

Each page has its own date.

Add new 'build-man' target, which stamps the date and version in the
pages (in $builddir, not the source ones).

Build-system internal stuff:
$CURDIR will be used for the build system, while $srcdir will be
used for the project root of the repository.  This helps use
this build system in other projects.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
GNUmakefile
share/mk/build/book.mk
share/mk/build/man.mk [new file with mode: 0644]
share/mk/install/man.mk
share/mk/src.mk