You are not logged in.

#1 2011-03-21 02:17:15

josephg
Member
From: Brazil
Registered: 2009-09-28
Posts: 118

How to install package's man page

Hi all!

I'm the maintainer of pcsx2-svn in AUR and currently the installation process doesn't install the man page automatically. In the source code I have a "pcsx2.man" file, that I'm gzipping and moving to the correct man folder. See command:

gzip -9 "${pkgdir}/opt/pcsx2/docs/pcsx2.man"
mv "${pkgdir}/opt/pcsx2/docs/pcsx2.man.gz" "${pkgdir}/usr/share/man/man1/pcsx2.1.gz"

Is there a more proper way to do this in Archlinux?

Thanks in advance!

p.s.: `make install` will not install the man page, only the translation files.

Offline

#2 2011-03-21 02:53:16

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: How to install package's man page

copy it to `/usr/share/man/man1/pcsx2.1'. No need to gzip it explicitly. makepkg will do that for you.

Offline

#3 2011-03-21 03:01:33

josephg
Member
From: Brazil
Registered: 2009-09-28
Posts: 118

Re: How to install package's man page

Ah, simple as that? I didn't how this works until now... Thanks, falconindy!

Last edited by josephg (2011-03-21 03:01:59)

Offline

Board footer

Powered by FluxBB