Hi Magnus,

* Magnus Therning wrote on Sun, Feb 05, 2006 at 03:04:02AM CET:
> I've searched around a bit on Google but I've failed to find any
> information regarding how to treat non-English manpages.
> 
> 'man1_MANS = package.1' works fine for manpages in English, but how do I
> get the Spanish one to install in '$(mandir)/es/man1'?

I'm all but an expert on this, but nobody else seems around, so I'll
just give it a try:  AFAIK there is no easy support for this in current
Automake, but you could overwrite `mandir' on a per-Makefile.am basis.
Like this:
   mandir = $(datadir)/man/es
   man1_MANS = ...

Or, if you want different languages from one Makefile.am, you could look
at the rules Automake generates and write similar, extended ones
yourself.  (Or provide a patch for Automake, I guess.)

Hope that helps a bit.

Cheers,
Ralf


Reply via email to