local.mk (2566B)
1 2 # Remove "oldorg:" to switch to "all" as the default target. 3 # Change "oldorg:" to an existing target to make that target the default, 4 # or define your own target here to become the default target. 5 oldorg: # do what the old Makefile did by default. 6 7 ##---------------------------------------------------------------------- 8 ## CHECK AND ADAPT THE FOLLOWING DEFINITIONS 9 ##---------------------------------------------------------------------- 10 11 # Name of your emacs binary 12 EMACS = emacs 13 14 # Where local software is found 15 prefix = /usr/share 16 17 # Where local lisp files go. 18 lispdir= $(prefix)/emacs/site-lisp/org 19 20 # Where local data files go. 21 datadir = $(prefix)/emacs/etc/org 22 23 # Where info files go. 24 infodir = $(prefix)/info 25 26 # Define if you only need info documentation, the default includes html and pdf 27 #ORG_MAKE_DOC = info # html pdf 28 29 # Define which git branch to switch to during update. Does not switch 30 # the branch when undefined. 31 GIT_BRANCH = 32 33 # Where to create temporary files for the testsuite 34 # respect TMPDIR if it is already defined in the environment 35 TMPDIR ?= /tmp 36 testdir = $(TMPDIR)/tmp-orgtest 37 38 # Configuration for testing 39 # Verbose ERT summary by default for Emacs-28 and above. 40 # To override: 41 # - Add to local.mk 42 # EMACS_TEST_VERBOSE = 43 # - Export EMACS_TEST_VERBOSE environment variable with empty value 44 # - Run tests as 45 # EMACS_TEST_VERBOSE= make test [OTHER_ARGUMENTS...] 46 # or as 47 # make test EMACS_TEST_VERBOSE= [OTHER_ARGUMENTS...] 48 EMACS_TEST_VERBOSE ?= yes 49 ifeq (,$(EMACS_TEST_VERBOSE)) 50 # Emacs-28 considers empty value as true, fixed in Emacs-29 51 unexport EMACS_TEST_VERBOSE 52 endif 53 # add options before standard load-path 54 BTEST_PRE = 55 # add options after standard load path 56 BTEST_POST = 57 # -L <path-to>/ert # needed for Emacs23, Emacs24 has ert built in 58 # -L <path-to>/ess # needed for running R tests 59 # -L <path-to>/htmlize # need at least version 1.34 for source code formatting 60 BTEST_OB_LANGUAGES = awk C fortran maxima lilypond octave perl python java sqlite eshell calc 61 # R # requires ESS to be installed and configured 62 # ruby # requires inf-ruby to be installed and configured 63 # extra packages to require for testing 64 BTEST_EXTRA = 65 # ess-site # load ESS for R tests 66 # Whether to activate extra debugging facilities for make repro. 67 REPRO_DEBUG ?= yes 68 # Extra arguments passed to Emacs for make repro. 69 # e.g. -l config.el /tmp/bug.org 70 REPRO_ARGS ?= 71 # See default.mk for further configuration options.