On Mon, Aug 29, 2011 at 03:42, Nils Andresen <n...@nils-andresen.de> wrote:
...
> Since xfreerdp and dfreerdp are both using libfreerdp-utils/args.c
> shouldn't the have the same manpage?

Maybe; I think we might have specifics for both.

For dfreerdp we might want to have a specific section about
.directdbrc or something... I think we might have a single source file
and generate two different manpages (and those might have specific
sections).

> Since I do not speak nroff I decided to write DocBook and generate a
> manpage using 'xmlto'. Since not everyone compiling should have to
> install docbook-tools I think both files - the manpage and it's
> docbook sources should be version controlled.

Please don't. This might be part of a bootstrap to be put into the
tarball, zip or whatever but don't manage both. It is too easy to
forget to update the generated file after changing the source.
>
> I'm not sure if the install-path for the manpage is correctly
> assembled: I put a MAN_PATH in CMakeLists.txt and have that point to
> "${CMAKE_INSTALL_PREFIX}/share/man" then, in client/X11/CMakeLists.txt
> I install the manpage into ${MAN_PATH}/man1

I'd use:

install(... DESTINATION share/man/man1)

-- 
Otavio Salvador                             O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to