This section describes the installation of Elib, the GNU emacs lisp library. You should install not only the library itself, but also the on-line documentation so that your users will know how to use it. You can create typeset documentation from the file `elib.texinfo' as well as an on-line info file. The following steps are also described in the file `INSTALL' in the source directory.
LISPDIR
. In this directory, a subdirectory with the name `elib'
will be created. All elisp files of the library will be copied there
when you do the actual installation (see step 2. below). We suggest you
use your local elisp directory (usually `/usr/local/lib/elisp' or
something similar) for this.
make install
' in the source directory. This will
byte-compile all .el
files of the library and create the
subdirectory `elib' in the directory you specified in step 1.
It will also copy both the .el
and the .elc
files of the
library there.
If you don't want to install the .el
files but only the .elc
files (the byte-compiled files), you can type `make install_elc
' instead
of `make install
'.
If you only want to create the compiled elisp files, but don't
want to install them, you can type `make elcfiles
' instead.
This is what happens if you only type `make
' without parameters.
make
in step 2. It
contains an additional entry in the variable load-path
, which
determines the path where emacs looks for elisp files (ending in
.el
or .elc
).
makeinfo
program, you can do this by running it on
`elib.texinfo'. Otherwise you can do it with emacs by running
these steps:
M-X texinfo-format-buffer
'
* Elib: (elib.info). The Emacs Lisp Library.
You can also make a typeset manual from the file
`elib.texinfo'. To to this, you must have the TeX
text formatting program installed. Just follow these steps:
prep.ai.mit.edu
in the US or from isy.liu.se
in Europe.
tex elib.texinfo
'. You might need to do this
twice to get all cross references correct. If you have the
texindex
program, you can create a sorted index by typing
`texindex elib.??
' between the two TeX passes. If you don't do
this, you still get a typeset manual, but you will not get the index.
dvi2ps
, which can do this. There is
also a program which comes together with TeX, dvips
, which you
can use.