On Tue, Aug 30, 2011 at 12:49 PM, Nils Andresen wrote:
> 2011/8/30 Marc-André Moreau :
>> Is it possible to have a "find_package(xmlto)" that simply checks for the
>> xmlto executable, and if it is present, it will generate the documentation?
>
> And print a nice warning ;-)
> I'll have a look.
>
On Tue, Aug 30, 2011 at 13:49, Nils Andresen wrote:
> 2011/8/30 Marc-André Moreau :
>> Is it possible to have a "find_package(xmlto)" that simply checks for the
>> xmlto executable, and if it is present, it will generate the documentation?
>
> And print a nice warning ;-)
> I'll have a look.
I'd
2011/8/30 Marc-André Moreau :
> Is it possible to have a "find_package(xmlto)" that simply checks for the
> xmlto executable, and if it is present, it will generate the documentation?
And print a nice warning ;-)
I'll have a look.
Nils
---
I just merged the pull request that added the manpage. I hadn't installed
xmlto previously, so it failed first. I looked at the code to see if xmlto
was being detected:
if(WITH_MANPAGES)
add_custom_command(OUTPUT xfreerdp.1
COMMAND xmlto man ${CMAKE_CURRENT_SOURCE_DIR}/xfreerdp.1.xml
DEPENDS xfree
On Mon, Aug 29, 2011 at 1:26 PM, Otavio Salvador
wrote:
> On Mon, Aug 29, 2011 at 14:00, Nils Andresen wrote:
> ...
>> Write the manpage by hand - this is doable. Others do it, too.
>> Use DocBook - I would prefer this, but it would mean that every
>> developer would need to have xmlto installed.
On Mon, Aug 29, 2011 at 14:00, Nils Andresen wrote:
...
> Write the manpage by hand - this is doable. Others do it, too.
> Use DocBook - I would prefer this, but it would mean that every
> developer would need to have xmlto installed. I would have no
> problems with that - but I do not know how o
On Mon, Aug 29, 2011 at 1:00 PM, Nils Andresen wrote:
> 2011/8/29 Otavio Salvador :
> > 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
> >
2011/8/29 Otavio Salvador :
> 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).
Good point. I'll try to keep this in mind.
> Please d
On Mon, Aug 29, 2011 at 03:42, Nils Andresen 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 somethin