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 ##----------------------------------------------------------------------
23 ## YOU MAY NEED TO ADAPT THESE DEFINITIONS
24 ##----------------------------------------------------------------------
26 # Using emacs in batch mode.
27 BATCH
= $(EMACS
) -batch
-Q \
29 --eval
'(defconst org-release "$(ORGVERSION)-Make")' \
32 BTEST_EXTRA
= # placeholder
33 BTEST
= $(EMACS
) -batch \
36 --eval
'(defconst org-release "$(ORGVERSION)-Test")' \
37 -l testing
/org-test.el \
38 -eval
"(setq org-confirm-babel-evaluate nil)" \
39 -f org-test-run-batch-tests
41 # How to byte-compile the whole source directory
43 --eval
'(batch-byte-recompile-directory 0)'
45 # How to byte-compile a single source file
46 ELC
= $(BATCH
) -f batch-byte-compile
48 # How to make a pdf file from a texinfo file
49 TEXI2PDF
= texi2pdf
--batch
--clean
51 # How to make a pdf file from a tex file
54 # How to create directories
57 # How to create the info files from the texinfo file
60 # How to create the HTML file
61 TEXI2HTML
= makeinfo --html
--number-sections
69 # How to remove files recursively
72 # How to stream edit a file
75 # How to copy the lisp files and elc files to their destination.
76 # CP = cp -p # try this if there is no install
79 # How to obtain administrative privileges
80 # SUDO = # leave blank if you don't need this
83 # Name of the program to install info files
84 # INSTALL_INFO = ginstall-info # Debian: avoid harmless warning message
85 INSTALL_INFO
= install-info