Find the answer to your Linux question:
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 ...
  1. #1
    Linux Newbie SagaciousKJB's Avatar
    Join Date
    Aug 2007
    Location
    Yakima, WA
    Posts
    162

    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?

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    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

  3. #3
    Linux Newbie SagaciousKJB's Avatar
    Join Date
    Aug 2007
    Location
    Yakima, WA
    Posts
    162
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...