On Thursday, October 30, 2014 11:21:44 AM UTC+1, Lex Trotman wrote:
>
> On 30 October 2014 20:32, Kamil Dudka <[email protected] <javascript:>> 
> wrote: 
> > Hello, 
> > 
> > I use a2x to generate a man page from an asciidoc text file. In 
> > asciidoc-8.6.8, the --destination-dir option of a2x was documented as 
> > "Output directory." and it worked as documented. With asciidoc-8.6.9, 
> the 
> > documentation says that the option "is only applicable to HTML based 
> output 
> > formats".  The option continues to work with 8.6.9 as before, but a 
> warning 
> > is printed: "a2x: WARNING: --destination-dir option is only applicable 
> to 
> > HTML based outputs" 
>
> Hmmm, don't see why it shouldn't apply to manpages too, it runs the 
> same xsltproc that a2x html outputs do, in fact it uses the same code 
> to do so and changes directory to the destination just like the html 
> ones do. 
>
> As you said it works, it just looks like the message is wrong.  I 
> would suggest ignoring it for now, its only a warning. 
>
> And please raise an issue for this on 
> https://github.com/asciidoc/asciidoc so it doesn't get lost. 
>

Done: https://github.com/asciidoc/asciidoc/issues/44

Thanks for the reply!

Kamil


> Cheers 
> Lex 
>
> > 
> > So what is the recommended way to set the destination directory for a 
> man 
> > page? 
> > 
> > I need to support out-of-source builds, so having the destination 
> directory 
> > same as the source directory is not an option for me. 
> > 
> > Kamil 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "asciidoc" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at http://groups.google.com/group/asciidoc. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to