2011-07-12 17:45:59 +00:00
|
|
|
##----------------------------------------------------------------------
|
|
|
|
## YOU MUST EDIT THE FOLLOWING LINES
|
|
|
|
##----------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Name of your emacs binary
|
2011-07-12 18:11:15 +00:00
|
|
|
EMACS = emacs
|
2011-07-12 17:45:59 +00:00
|
|
|
|
|
|
|
# Where local software is found
|
2011-07-12 18:11:15 +00:00
|
|
|
prefix = /usr/share
|
2011-07-12 17:45:59 +00:00
|
|
|
|
|
|
|
# Where local lisp files go.
|
2011-07-12 18:11:15 +00:00
|
|
|
lispdir = $(prefix)/emacs/site-lisp
|
2011-07-12 17:45:59 +00:00
|
|
|
|
|
|
|
# Where info files go.
|
2011-07-12 18:11:15 +00:00
|
|
|
infodir = $(prefix)/info
|
2011-07-12 17:45:59 +00:00
|
|
|
|
|
|
|
##----------------------------------------------------------------------
|
|
|
|
## YOU MAY NEED TO EDIT THESE
|
|
|
|
##----------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Using emacs in batch mode.
|
|
|
|
|
2011-07-12 18:11:15 +00:00
|
|
|
BATCH = $(EMACS) -batch -q -no-site-file -eval \
|
|
|
|
"(setq load-path (cons (expand-file-name \"./lisp/\") \
|
|
|
|
(cons \"$(lispdir)\" load-path)))"
|
2011-07-12 17:45:59 +00:00
|
|
|
|
|
|
|
# Specify the byte-compiler for compiling org-mode files
|
2011-07-12 18:11:15 +00:00
|
|
|
ELC = $(BATCH) -f batch-byte-compile
|
2011-07-12 17:45:59 +00:00
|
|
|
|
|
|
|
# How to make a pdf file from a texinfo file
|
|
|
|
TEXI2PDF = texi2pdf
|
|
|
|
|
|
|
|
# How to create directories
|
2011-07-12 18:11:15 +00:00
|
|
|
MKDIR = mkdir -p
|
2011-07-12 17:45:59 +00:00
|
|
|
|
|
|
|
# How to create the info files from the texinfo file
|
|
|
|
MAKEINFO = makeinfo
|
|
|
|
|
|
|
|
# How to create the HTML file
|
|
|
|
TEXI2HTML = makeinfo --html --number-sections
|
|
|
|
|
2011-07-12 20:31:41 +00:00
|
|
|
# How to find files
|
|
|
|
FIND = find
|
|
|
|
|
|
|
|
# How to remove files
|
|
|
|
RM = rm
|
|
|
|
|
2011-07-12 18:11:15 +00:00
|
|
|
# How to copy the lisp files and elc files to their destination.
|
|
|
|
# CP = cp -p # try this if there is no install
|
|
|
|
CP = install -p
|
2011-07-12 17:45:59 +00:00
|
|
|
|
|
|
|
# Name of the program to install info files
|
2011-07-12 18:11:15 +00:00
|
|
|
INSTALL_INFO = install-info
|
2011-07-12 17:45:59 +00:00
|
|
|
|