Always "make clean" for lisp files before compiling them
[org-mode.git] / default.mk
blobcb61ff38c437803982a8436033ac009441080c34
1 ##----------------------------------------------------------------------
2 ## YOU MUST EDIT THE FOLLOWING LINES
3 ##----------------------------------------------------------------------
5 # Name of your emacs binary
6 EMACS = emacs
8 # Where local software is found
9 prefix = /usr/share
11 # Where local lisp files go.
12 lispdir = $(prefix)/emacs/site-lisp/org
14 # Where info files go.
15 infodir = $(prefix)/info
17 ##----------------------------------------------------------------------
18 ## YOU MAY NEED TO EDIT THESE
19 ##----------------------------------------------------------------------
21 # Using emacs in batch mode.
23 BATCH = $(EMACS) -batch -q -no-site-file -eval \
24 "(setq load-path (cons (expand-file-name \".\") \
25 (cons \"$(lispdir)\" load-path)))"
27 # Specify the byte-compiler for compiling org-mode files
28 ELC = $(BATCH) -f batch-byte-compile
30 # How to make a pdf file from a texinfo file
31 TEXI2PDF = texi2pdf
33 # How to make a pdf file from a tex file
34 PDFTEX = pdftex
36 # How to create directories
37 MKDIR = mkdir -p
39 # How to create the info files from the texinfo file
40 MAKEINFO = makeinfo
42 # How to create the HTML file
43 TEXI2HTML = makeinfo --html --number-sections
45 # How to find files
46 FIND = find
48 # How to remove files
49 RM = rm -f
51 # How to remove files recursively
52 RMR = rm -fr
54 # How to stream edit a file
55 SED = sed
57 # How to copy the lisp files and elc files to their destination.
58 # CP = cp -p # try this if there is no install
59 CP = install -p
61 # Name of the program to install info files
62 INSTALL_INFO = install-info