[CMake] xmltoman and zip files

Leopold Palomo-Avellaneda leo at alaxarxa.net
Tue Mar 25 11:47:47 EDT 2008


A Dimarts 25 Març 2008, Hendrik Sattler va escriure:
> Am Dienstag 25 März 2008 schrieb Leopold Palomo-Avellaneda:
> > just to questions:
> >
> > 1) some of you have some rule/macro to work with  xmltoman?
> > 2) it's a stupid thing, but how can I make a target to compress file?
> >
> > I would like to work with man pages. The sources are written with xml (as
> > a source). And the so, I should do:
> >
> > xmltoman file.1.xml  > file.1
> >
> > and after, install it with:
> >
> > gzip -9  file.1
> >
> >
> > Someone have done it before?
>
> I have something for docbook xml files, using xmlto to create HTML and
> manpage.
> Example:
> find_package ( XmlTo REQUIRED )
> xmlto ( file.1.xml MODES man html ALL )
>
> Note that the XML file must have manvolnum specified.
>
> I attached it.
>
> HS

Thank's,

I will check it. 

best regards,

Leo


More information about the CMake mailing list