2011-07-12 13:45:59 -04:00
|
|
|
##----------------------------------------------------------------------
|
2012-01-05 14:54:52 -05:00
|
|
|
## NEVER EDIT THIS FILE, PUT ANY ADAPTATIONS INTO local.mk
|
|
|
|
##----------------------------------------------------------------------
|
|
|
|
## CHECK AND ADAPT THE FOLLOWING DEFINITIONS
|
2011-07-12 13:45:59 -04:00
|
|
|
##----------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Name of your emacs binary
|
2012-01-05 14:54:52 -05:00
|
|
|
EMACS = emacs
|
2011-07-12 13:45:59 -04:00
|
|
|
|
|
|
|
# Where local software is found
|
2012-01-05 14:54:52 -05:00
|
|
|
prefix = /usr/share
|
2011-07-12 13:45:59 -04:00
|
|
|
|
|
|
|
# Where local lisp files go.
|
2012-01-05 14:54:52 -05: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
|
|
|
|
|
|
|
##----------------------------------------------------------------------
|
2012-01-05 14:54:52 -05:00
|
|
|
## YOU MAY NEED TO ADAPT THESE DEFINITIONS
|
2011-07-12 13:45:59 -04:00
|
|
|
##----------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Using emacs in batch mode.
|
2012-01-05 14:54:52 -05:00
|
|
|
BATCH = $(EMACS) -batch -Q \
|
2012-01-04 16:53:02 -05:00
|
|
|
-L . \
|
|
|
|
--eval '(defconst org-release "$(ORGVERSION)-Make")' \
|
2011-07-12 13:45:59 -04:00
|
|
|
|
2012-01-05 14:54:52 -05:00
|
|
|
# How to run tests
|
|
|
|
BTEST_EXTRA = # placeholder
|
|
|
|
BTEST = $(EMACS) -batch \
|
2012-01-04 15:02:14 -05:00
|
|
|
$(BTEST_EXTRA) \
|
|
|
|
-L lisp/ \
|
2012-01-04 16:53:02 -05:00
|
|
|
--eval '(defconst org-release "$(ORGVERSION)-Test")' \
|
2012-01-04 15:02:14 -05:00
|
|
|
-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
|
2012-01-05 14:54:52 -05:00
|
|
|
ELCDIR = $(BATCH) \
|
2011-11-13 05:53:12 -05:00
|
|
|
--eval '(batch-byte-recompile-directory 0)'
|
|
|
|
|
|
|
|
# How to byte-compile a single source file
|
2012-01-05 14:54:52 -05: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
|
2012-01-05 14:54:52 -05:00
|
|
|
TEXI2PDF = texi2pdf --batch --clean
|
2011-07-12 13:45:59 -04:00
|
|
|
|
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
|
2012-01-05 14:54:52 -05: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
|
2012-01-05 14:54:52 -05:00
|
|
|
FIND = find
|
2011-07-12 16:31:41 -04:00
|
|
|
|
|
|
|
# How to remove files
|
2012-01-05 14:54:52 -05: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
|
2012-01-05 14:54:52 -05:00
|
|
|
RMR = rm -fr
|
2011-07-17 08:49:43 -04:00
|
|
|
|
2011-07-18 11:55:23 -04:00
|
|
|
# How to stream edit a file
|
2012-01-05 14:54:52 -05:00
|
|
|
SED = sed
|
2011-07-18 11:55:23 -04:00
|
|
|
|
2011-07-12 14:11:15 -04:00
|
|
|
# How to copy the lisp files and elc files to their destination.
|
2012-01-05 14:54:52 -05:00
|
|
|
# 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
|
2012-01-05 14:54:52 -05:00
|
|
|
# INSTALL_INFO = ginstall-info # Debian: avoid harmless warning message
|
2011-07-12 14:11:15 -04:00
|
|
|
INSTALL_INFO = install-info
|