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
|
|
|
|
2012-01-02 14:07:04 -05:00
|
|
|
# Where local data files go.
|
2012-01-04 15:02:14 -05:00
|
|
|
datadir = $(prefix)/emacs/etc/org
|
2012-01-02 14:07:04 -05:00
|
|
|
|
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-11-13 05:53:12 -05:00
|
|
|
BATCH = $(EMACS) -batch -Q -L .
|
2011-07-12 13:45:59 -04:00
|
|
|
|
2012-01-04 15:02:14 -05:00
|
|
|
# run tests
|
|
|
|
BTEST = $(EMACS) -batch \
|
|
|
|
$(BTEST_EXTRA) \
|
|
|
|
-L lisp/ \
|
|
|
|
-l testing/org-test.el \
|
|
|
|
-eval "(setq org-confirm-babel-evaluate nil)" \
|
|
|
|
-f org-test-run-batch-tests
|
|
|
|
|
2011-11-13 05:53:12 -05:00
|
|
|
# How to byte-compile the whole source directory
|
|
|
|
ELCDIR = $(BATCH) \
|
|
|
|
--eval '(defconst org-release "$(ORGVERSION)")' \
|
|
|
|
--eval '(batch-byte-recompile-directory 0)'
|
|
|
|
|
|
|
|
# How to byte-compile a single source file
|
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
|