Re: [Freerdp-devel] xfreerdp manpage

2011-08-30 Thread Mike Gilbert
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. >

Re: [Freerdp-devel] xfreerdp manpage

2011-08-30 Thread Otavio Salvador
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

Re: [Freerdp-devel] xfreerdp manpage

2011-08-30 Thread Nils Andresen
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 ---

Re: [Freerdp-devel] xfreerdp manpage

2011-08-30 Thread Marc-André Moreau
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

Re: [Freerdp-devel] xfreerdp manpage

2011-08-29 Thread Mike Gilbert
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.

Re: [Freerdp-devel] xfreerdp manpage

2011-08-29 Thread Otavio Salvador
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

Re: [Freerdp-devel] xfreerdp manpage

2011-08-29 Thread Marc-André Moreau
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 > >

Re: [Freerdp-devel] xfreerdp manpage

2011-08-29 Thread Nils Andresen
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

Re: [Freerdp-devel] xfreerdp manpage

2011-08-29 Thread Otavio Salvador
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