On 12/10/2009 08:20 AM, Dave Pitts wrote:
OK, I've made "equivalent" changes to the Makefile. The install program
does not exist on all *nix platforms. Only Linux (I think)... Also,
added the man page install.
Thanks, it looks good. I do have a question, though: Is there any reason
to install the manpages into $(INSTDIR)/man instead of
$(INSTDIR)/share/man? As of the FHS 2.3, /usr/man is deprecated in favor
of /usr/share/man:
http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREMANMANUALPAGES
Since most distributions will end up installing a packaged version of
focal into /usr rather than /usr/local, this means they will have to
make a little change when building to be FHS-compliant.
Of course, the default $(INSTDIR) does point to /usr/local. And the FHS
2.3 does say that /usr/local/man and /usr/local/share/man must be
synonymous--there must be a symlink between them, probably. So I think
there would be no harm in just installing into /usr/local/share/man by
default:
http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALSHARE1