1 ##----------------------------------------------------------------------
2 ## NEVER EDIT THIS FILE, PUT ANY ADAPTATIONS INTO local.mk
3 ##----------------------------------------------------------------------
4 ## CHECK AND ADAPT THE FOLLOWING DEFINITIONS
5 ##----------------------------------------------------------------------
7 # Name of your emacs binary
10 # Where local software is found
13 # Where local lisp files go.
14 lispdir
= $(prefix)/emacs
/site-lisp
/org
16 # Where local data files go.
17 datadir = $(prefix)/emacs
/etc
/org
19 # Where info files go.
20 infodir = $(prefix)/info
22 # where to create temporary files for the testsuite
24 testdir
= $(TMPDIR
)/tmp-orgtest
26 ##----------------------------------------------------------------------
27 ## YOU MAY NEED TO ADAPT THESE DEFINITIONS
28 ##----------------------------------------------------------------------
30 # Using emacs in batch mode.
31 BATCH
= $(EMACS
) -batch
-Q \
33 --eval
'(defconst org-release "$(ORGVERSION)-Make")' \
36 BTEST_EXTRA
= # placeholder
37 BTEST
= $(EMACS
) -batch \
40 --eval
'(defconst org-release "$(ORGVERSION)-Test")' \
41 -l testing
/org-test.el \
42 -eval
"(setq org-confirm-babel-evaluate nil)" \
43 -f org-test-run-batch-tests
45 # How to byte-compile the whole source directory
47 --eval
'(batch-byte-recompile-directory 0)'
49 # How to byte-compile a single source file
50 ELC
= $(BATCH
) -f batch-byte-compile
52 # How to make a pdf file from a texinfo file
53 TEXI2PDF
= texi2pdf
--batch
--clean
55 # How to make a pdf file from a tex file
58 # How to create directories
61 # How to create the info files from the texinfo file
64 # How to create the HTML file
65 TEXI2HTML
= makeinfo --html
--number-sections
73 # How to remove files recursively
76 # How to stream edit a file
79 # How to copy the lisp files and elc files to their destination.
80 # CP = cp -p # try this if there is no install
83 # How to obtain administrative privileges
84 # SUDO = # leave blank if you don't need this
87 # Name of the program to install info files
88 # INSTALL_INFO = ginstall-info # Debian: avoid harmless warning message
89 INSTALL_INFO
= install-info