Results 1 to 3 of 3
I've been working on a small project with a release package, and I just put together a manual for it. I'm wondering how I can include it in the package ...
- 07-13-2008 #1
Installing man files with scripts.
I've been working on a small project with a release package, and I just put together a manual for it. I'm wondering how I can include it in the package and install it as part of the "install" process.
I don't need technical instructions for this per se, but I am wondering: Are the steps in adding man files to the system the same from one distribution to the other? I am on Ubuntu and using "mandb", but I assume that is probably a "Debian" way.
Is there is a universal way to install man pages?
- 07-13-2008 #2
You could look at how the GNU maintainers do this. They usually keep their packages very distribution independent.
Usually it is done by letting the administrator call configure. This sets the paths in the makefile where the man pages ought be installed to. When the makefile is executed the man pages get built and installed in their target directory and all necessary steps are take to refresh the database.
Just look for a mature GNU package, like the GNU coreutils, how it is done. If their way is good enough for core systems files, it is certainly a good choice for your application as well
- 07-14-2008 #3
Exactly what should I be looking for? Just ways it sees which distribution one is using, and how they handle man files?
I'll go find coreutils and have a looksee. Thanks


Reply With Quote