What is the right way to install man pages with languages different from C 
(default)?

Back in December 2000, someone complained that foo.xx.1 was installed as 
xx/man1/foo.1 instead of man1/foo.xx.1. So I guess extracting the language 
code from the name (it could also be foo.1.xx) will be a hairy task, although 
it would be easy for automake users (i.e. simply add all man pages to the 
list, they'll end up in the right directory).

Second way would be to allow paths for man pages, similar to DATA, e.g.:
        manfrdir = $(mandir)/fr
        manfr_MANS = foo.fr.1

This would already require more complex Makefile.am's, but at least would be 
of more use than the current behaviour in this situation (to do nothing).

The last remaining choice would be to drop man_MANS entirely (for i18n'd 
projects) and use DATA everywhere.

Josef

-- 
Free operating systems. Free software. Free games.


Reply via email to