org-agenda.el: Fix bug in top-category filtering.
[org-mode/org-mode-NeilSmithlineMods.git] / default.mk
blob45e6fbfa718110c3ba4ac169f5b45daca7098dcf
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
8 EMACS = emacs
10 # Where local software is found
11 prefix = /usr/share
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
23 TMPDIR ?= /tmp
24 testdir = $(TMPDIR)/tmp-orgtest
26 # Configuration for testing
27 BTEST_PRE = # add options before standard load-path
28 BTEST_POST = # add options after standard load path
29 # -L <path-to>/ert # needed for Emacs23, Emacs24 has ert built in
30 # -L <path-to>/htmlize # need at least version 1.34 for source code formatting
31 BTEST_OB_LANGUAGES = awk C fortran maxima lilypond octave python sh # R
32 # R is not activated by default because it requires ess to be installed and configured
33 BTEST_EXTRA = # extra packages to require for testing
35 ##----------------------------------------------------------------------
36 ## YOU MAY NEED TO ADAPT THESE DEFINITIONS
37 ##----------------------------------------------------------------------
39 # How to run tests
40 req-ob-lang = --eval '(require '"'"'ob-$(ob-lang))'
41 req-extra = --eval '(require '"'"'$(req))'
42 BTEST = $(EMACS) -batch -Q \
43 $(BTEST_PRE) -L lisp/ -L testing/ $(BTEST_POST) \
44 --eval '(defconst org-release "$(ORGVERSION)-Test")' \
45 -l testing/org-test.el \
46 $(foreach ob-lang,$(BTEST_OB_LANGUAGES),$(req-ob-lang)) \
47 $(foreach req,$(BTEST_EXTRA),$(req-extra)) \
48 --eval '(setq org-confirm-babel-evaluate nil)' \
49 -f org-test-run-batch-tests
51 # Using emacs in batch mode.
52 BATCH = $(EMACS) -batch -Q \
53 -L . \
54 --eval '(defconst org-release "$(ORGVERSION)-Make")' \
56 # How to byte-compile the whole source directory
57 ELCDIR = $(BATCH) \
58 --eval '(batch-byte-recompile-directory 0)'
60 # How to byte-compile a single source file
61 ELC = $(BATCH) -f batch-byte-compile
63 # How to make a pdf file from a texinfo file
64 TEXI2PDF = texi2pdf --batch --clean
66 # How to make a pdf file from a tex file
67 PDFTEX = pdftex
69 # How to create directories
70 MKDIR = mkdir -p
72 # How to create the info files from the texinfo file
73 MAKEINFO = makeinfo
75 # How to create the HTML file
76 TEXI2HTML = makeinfo --html --number-sections
78 # How to find files
79 FIND = find
81 # How to remove files
82 RM = rm -f
84 # How to remove files recursively
85 RMR = rm -fr
87 # How to stream edit a file
88 SED = sed
90 # How to copy the lisp files and elc files to their destination.
91 # CP = cp -p # try this if there is no install
92 CP = install -p
94 # How to obtain administrative privileges
95 # SUDO = # leave blank if you don't need this
96 SUDO = sudo
98 # Name of the program to install info files
99 # INSTALL_INFO = ginstall-info # Debian: avoid harmless warning message
100 INSTALL_INFO = install-info