clean up the code implementing reads of irregular data into R
[org-mode/org-mode-NeilSmithlineMods.git] / default.mk
blob72a3e5fc17bd650e4857ca6efd13c809015431f2
1 ##----------------------------------------------------------------------
2 ## NEVER EDIT THIS FILE, PUT ANY ADAPTATIONS INTO local.mk
3 ##----------------------------------------------------------------------
4 ## CHECK AND ADAPT THE FOLLOWING DEFINITIONS
5 ##-8<-------------------------------------------------------------------
7 # Override default target if desired or define your own default target
8 # oldorg: # have plain "make" do the same things the old Makefile did
10 # Name of your emacs binary
11 EMACS = emacs
13 # Where local software is found
14 prefix = /usr/share
16 # Where local lisp files go.
17 lispdir= $(prefix)/emacs/site-lisp/org
19 # Where local data files go.
20 datadir = $(prefix)/emacs/etc/org
22 # Where info files go.
23 infodir = $(prefix)/info
25 # Define if you only need info documentation, the default includes html and pdf
26 # ORG_MAKE_DOC = info # html pdf
28 # Where to create temporary files for the testsuite
29 TMPDIR ?= /tmp
30 testdir = $(TMPDIR)/tmp-orgtest
32 # Configuration for testing
33 BTEST_PRE = # add options before standard load-path
34 BTEST_POST = # add options after standard load path
35 # -L <path-to>/ert # needed for Emacs23, Emacs24 has ert built in
36 # -L <path-to>/htmlize # need at least version 1.34 for source code formatting
37 BTEST_OB_LANGUAGES = awk C fortran maxima lilypond octave python sh # R
38 # R is not activated by default because it requires ess to be installed and configured
39 BTEST_EXTRA = # extra packages to require for testing
41 ##->8-------------------------------------------------------------------
42 ## YOU MAY NEED TO ADAPT THESE DEFINITIONS
43 ##----------------------------------------------------------------------
45 # How to run tests
46 req-ob-lang = --eval '(require '"'"'ob-$(ob-lang))'
47 req-extra = --eval '(require '"'"'$(req))'
48 BTEST = $(EMACS) -batch -Q \
49 $(BTEST_PRE) -L lisp/ -L testing/ $(BTEST_POST) \
50 --eval '(defconst org-release "$(ORGVERSION)-Test")' \
51 -l testing/org-test.el \
52 $(foreach ob-lang,$(BTEST_OB_LANGUAGES),$(req-ob-lang)) \
53 $(foreach req,$(BTEST_EXTRA),$(req-extra)) \
54 --eval '(setq org-confirm-babel-evaluate nil)' \
55 -f org-test-run-batch-tests
57 # Using emacs in batch mode.
58 BATCH = $(EMACS) -batch -Q \
59 -L . \
60 --eval '(defconst org-release "$(ORGVERSION)-Make")' \
62 # How to byte-compile the whole source directory
63 ELCDIR = $(BATCH) \
64 --eval '(batch-byte-recompile-directory 0)'
66 # How to byte-compile a single source file
67 ELC = $(BATCH) -f batch-byte-compile
69 # How to make a pdf file from a texinfo file
70 TEXI2PDF = texi2pdf --batch --clean
72 # How to make a pdf file from a tex file
73 PDFTEX = pdftex
75 # How to create directories
76 MKDIR = mkdir -p
78 # How to create the info files from the texinfo file
79 MAKEINFO = makeinfo
81 # How to create the HTML file
82 TEXI2HTML = makeinfo --html --number-sections
84 # How to find files
85 FIND = find
87 # How to remove files
88 RM = rm -f
90 # How to remove files recursively
91 RMR = rm -fr
93 # How to stream edit a file
94 SED = sed
96 # How to copy the lisp files and elc files to their destination.
97 # CP = cp -p # try this if there is no install
98 CP = install -p
100 # How to obtain administrative privileges
101 # SUDO = # leave blank if you don't need this
102 SUDO = sudo
104 # Name of the program to install info files
105 # INSTALL_INFO = ginstall-info # Debian: avoid harmless warning message
106 INSTALL_INFO = install-info