ssanthosh243 / semicomplete

Automatically exported from code.google.com/p/semicomplete
0 stars 0 forks source link

Manpages in $(PREFIX)/share/man #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
xdotool installs manpages into $(PREFIX)/man but according to the
Filesystem Hierarchy Standard the location for manpages should be
$(PREFIX)/share/man. For the MacPorts distribution of xdotool I'm currently
patching this, but it's probably a good change to make in the official source.

What version of the product are you using? On what operating system?
xdotool 1.20100415.2808 on Mac OS X 10.6.3

Original issue reported on code.google.com by ryandesi...@gmail.com on 16 Apr 2010 at 7:46

GoogleCodeExporter commented 9 years ago
FHS is a big pile of poop. I'll save you from the rant ;)

Additionally. not all platforms use FHS. FreeBSD, for example, sets PREFIX to 
/usr/local in ports by default and has manpages as /usr/local/man - this fits 
PREFIX/man.

Since you can't make a default that makes all platforms happy (without 
detection for 
each platform), you can chose where to install the manpages and other things 
with 
make(1) variables.

To fix, you should be able to set this when you run 'make':
make install INSTALLMAN=/whatever/prefix/share/man

Basically, covering your 'make install' needs shouldn't require any patches. 
Let me 
know if the INSTALLMAN stuff works for you.

Original comment by jls.semi...@gmail.com on 16 Apr 2010 at 7:59

GoogleCodeExporter commented 9 years ago
Yes, that works fine. Feel free to close if you don't want to change the 
sources.

Original comment by ryandesi...@gmail.com on 22 Apr 2010 at 8:55

GoogleCodeExporter commented 9 years ago
Cool. Thanks for verifying :)

Original comment by jls.semi...@gmail.com on 22 Apr 2010 at 9:22