automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packages with manpages in multiple languages


From: Ralf Wildenhues
Subject: Re: Packages with manpages in multiple languages
Date: Thu, 9 Feb 2006 14:56:57 +0100
User-agent: Mutt/1.5.11

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

[Prev in Thread] Current Thread [Next in Thread]