2025-08-12 18:41 CEST

spring: develop 6819e1c7 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
hoijui hoijui develop 2009-11-16 12:45:56 develop 958fb7b7
Changeset add MAN pages to CMake build on unix (apply mantis 0001707 by mammadori)
For this to work, you need to have asciidoc installed.
New CMake var: MANDIR (default: share/man)
This means, by default, man pages will be installed /usr/share/man/man6/.
You may set it to the same value like BINDIR and LIBDIR, eg ".",
in case you don not want to install system wide, but to a dedicated dir.
CMake also checks for the asciidoc utility to work properly,
as there it is borked in Ubuntu jaunty (and probably other distros).

Adding, removing or altering man pages only required fiddling around
with the ".6.txt" files. Compilation will only break if there is none
of these left.
mod - CMakeLists.txt Diff ] File ]
add - Documentation/manpages/make_manpages.sh Diff ] File ]
add - Documentation/manpages/spring-dedicated.6.txt Diff ] File ]
add - Documentation/manpages/spring.6.txt Diff ] File ]
add - rts/build/cmake/FindAsciiDoc.cmake Diff ] File ]