]> code.delx.au - gnu-emacs-elpa/blob - INSTALL
Cleanup copyright; Merge prog-proc into sml-mode.el
[gnu-emacs-elpa] / INSTALL
1 SML-MODE shouldn't require any special external support package,
2 as far as I can rememebr. Just a recent copy of Emacs or XEmacs.
3
4 Installation of the program
5 ===================================
6
7 1. Edit the file `Makefile' to reflect the situation at your site.
8 The only things you have to change is the definition of `lispdir'
9 and `infodir'. The elisp files will be copied to `lispdir', and
10 the info file to `infodir'.
11
12 2. Have some sorbet.
13
14 3. Type `make install' in the source directory. This will byte-compile
15 all `.el' files and copy all into the directory you specified in step
16 1. It will also copy the info files (and add a corresponding entry to
17 the info-dir file if install-info can be found).
18
19 If you only want to create the compiled elisp files, you can just type
20 `make elcfiles' instead.
21
22 4. Edit the file `site-start.el' in your emacs lisp directory (usually
23 `/usr/local/share/emacs/site-lisp' or something similar) and make it
24 load the file `sml-mode-startup.el'. It contains a couple of
25 `auto-load's that facilitates the use of sml-mode. Alternatively, you
26 can just use `make install_startup'. If you're only installing it for
27 yourself rather than for the whole system, then use something like
28 `make install_startup startupfile=$HOME/.emacs'.
29
30 5. If you had copied the contents of a previous sml-mode-startup.el file to
31 your site-start.el (or .emacs), you might want to remove that.
32
33
34 How to make typeset documentation from the TeXinfo manual
35 =========================================================
36
37 If you have TeX installed at your site, you can make a typeset version of
38 the manual typing ``make dvi''. If you prefer a postscript version of this
39 file, just use ``make postscript''.