2011-07-12 13:45:59 -04:00
|
|
|
##----------------------------------------------------------------------
|
|
|
|
## YOU MUST EDIT THE FOLLOWING LINES
|
|
|
|
##----------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Name of your emacs binary
|
2011-07-12 14:11:15 -04:00
|
|
|
EMACS = emacs
|
2011-07-12 13:45:59 -04:00
|
|
|
|
|
|
|
# Where local software is found
|
2011-07-12 14:11:15 -04:00
|
|
|
prefix = /usr/share
|
2011-07-12 13:45:59 -04:00
|
|
|
|
|
|
|
# Where local lisp files go.
|
2011-07-16 16:49:24 -04:00
|
|
|
lispdir = $(prefix)/emacs/site-lisp/org
|
2011-07-12 13:45:59 -04:00
|
|
|
|
|
|
|
# Where info files go.
|
2011-07-12 14:11:15 -04:00
|
|
|
infodir = $(prefix)/info
|
2011-07-12 13:45:59 -04:00
|
|
|
|
|
|
|
##----------------------------------------------------------------------
|
|
|
|
## YOU MAY NEED TO EDIT THESE
|
|
|
|
##----------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Using emacs in batch mode.
|
|
|
|
|
2011-07-16 16:49:24 -04:00
|
|
|
BATCH = $(EMACS) -batch -q -no-site-file -eval \
|
|
|
|
"(setq load-path (cons (expand-file-name \".\") \
|
2011-07-12 14:11:15 -04:00
|
|
|
(cons \"$(lispdir)\" load-path)))"
|
2011-07-12 13:45:59 -04:00
|
|
|
|
|
|
|
# Specify the byte-compiler for compiling org-mode files
|
2011-07-12 14:11:15 -04:00
|
|
|
ELC = $(BATCH) -f batch-byte-compile
|
2011-07-12 13:45:59 -04:00
|
|
|
|
|
|
|
# How to make a pdf file from a texinfo file
|
|
|
|
TEXI2PDF = texi2pdf
|
|
|
|
|
2011-07-17 08:49:43 -04:00
|
|
|
# How to make a pdf file from a tex file
|
|
|
|
PDFTEX = pdftex
|
|
|
|
|
2011-07-12 13:45:59 -04:00
|
|
|
# How to create directories
|
2011-07-12 14:11:15 -04:00
|
|
|
MKDIR = mkdir -p
|
2011-07-12 13:45:59 -04: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 16:31:41 -04:00
|
|
|
# How to find files
|
|
|
|
FIND = find
|
|
|
|
|
|
|
|
# How to remove files
|
2011-07-16 16:49:24 -04:00
|
|
|
RM = rm -f
|
2011-07-12 16:31:41 -04:00
|
|
|
|
2011-07-17 08:49:43 -04:00
|
|
|
# How to remove files recursively
|
|
|
|
RMR = rm -fr
|
|
|
|
|
2011-07-18 11:55:23 -04:00
|
|
|
# How to stream edit a file
|
|
|
|
SED = sed
|
|
|
|
|
2011-07-12 14:11:15 -04: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 13:45:59 -04:00
|
|
|
|
|
|
|
# Name of the program to install info files
|
2011-07-12 14:11:15 -04:00
|
|
|
INSTALL_INFO = install-info
|
2011-07-12 13:45:59 -04:00
|
|
|
|