www.delorie.com/gnu/docs/octave/kpathsea_18.html   search  
Buy GNU books!

Kpathsea: A library for path searching

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.2.6 Installing files

The basic command is the usual make install. For security issues, see section 2.3 Security.

The first time you install any manual in the GNU Info system, you should add a line (you choose where) to the file `dir' in your `$(infodir)' directory. Sample text for this is given near the top of the Texinfo source files (`kpathsea/kpathsea.texi', `dvipsk/dvips.texi', and `web2c/doc/web2c.texi'). If you have a recent version of the GNU Texinfo distribution installed (ftp://prep.ai.mit.edu/pub/gnu/texinfo-3.9.tar.gz or later), this should happen automatically.

On the offchance that this is your first Info installation, the `dir' file I use is included in the distribution as `etc/dir-example'.

You may wish to use one of the following targets, especially if you are installing on multiple architectures:

If you use the Andrew File System, the normal path (e.g., prefix/bin) only gets you to a read-only copy of the files, and you must specify a different path for installation. The best way to do this is by setting the `prefix' variable on the make command line. The sequence becomes something like this:
configure --prefix=/whatever
make install prefix=/afs/.system.name/system/1.3/@sys/whatever
With AFS, you will definitely want to use relative filenames in `ls-R' (see section 3.4 Filename database (ls-R)), not absolute filenames. This is done by default, but check anyway.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003