| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 | ##----------------------------------------------------------------------##  NEVER EDIT THIS FILE, PUT ANY ADAPTATIONS INTO local.mk##-8<-------------------------------------------------------------------##  CHECK AND ADAPT THE FOLLOWING DEFINITIONS##----------------------------------------------------------------------# Name of your emacs binaryEMACS	= emacs# Where local software is foundprefix	= /usr/share# Where local lisp files go.lispdir= $(prefix)/emacs/site-lisp/org# Where local data files go.datadir = $(prefix)/emacs/etc/org# Where info files go.infodir = $(prefix)/info# Define if you only need info documentation, the default includes html and pdf#ORG_MAKE_DOC = info # html pdf# Where to create temporary files for the testsuite# respect TMPDIR if it is already defined in the environmentTMPDIR ?= /tmptestdir = $(TMPDIR)/tmp-orgtest# Configuration for testing# add options before standard load-pathBTEST_PRE   =# add options after standard load pathBTEST_POST  =              # -L <path-to>/ert      # needed for Emacs23, Emacs24 has ert built in              # -L <path-to>/htmlize  # need at least version 1.34 for source code formattingBTEST_OB_LANGUAGES = awk C fortran maxima lilypond octave python sh              # R is not activated by default because it requires ess to be installed and configured# extra packages to require for testingBTEST_EXTRA =##->8-------------------------------------------------------------------## YOU MAY NEED TO ADAPT THESE DEFINITIONS##----------------------------------------------------------------------# How to run testsreq-ob-lang = --eval '(require '"'"'ob-$(ob-lang))'req-extra   = --eval '(require '"'"'$(req))'BTEST	= $(BATCH) \	  $(BTEST_PRE) \	  --eval '(add-to-list '"'"'load-path "./lisp")' \	  --eval '(add-to-list '"'"'load-path "./testing")' \	  $(BTEST_POST) \	  -l org-install.el \	  -l testing/org-test.el \	  $(foreach ob-lang,$(BTEST_OB_LANGUAGES),$(req-ob-lang)) \	  $(foreach req,$(BTEST_EXTRA),$(req-extra)) \	  --eval '(setq org-confirm-babel-evaluate nil)' \	  -f org-test-run-batch-tests# Using emacs in batch mode.# BATCH = $(EMACS) -batch -vanilla # XEmacsBATCH	= $(EMACS) -batch -Q# How to generate local.mkMAKE_LOCAL_MK = $(BATCH) \	  --eval '(add-to-list '"'"'load-path "./lisp")' \	  --eval '(load "org-compat.el")' \	  --eval '(load "../UTILITIES/org-fixup.el")' \	  --eval '(org-make-local-mk)'# Emacs must be started in lisp directoryBATCHL	= $(BATCH) \	  --eval '(add-to-list '"'"'load-path ".")'# How to generate org-install.elMAKE_ORG_INSTALL = $(BATCHL) \	  --eval '(load "org-compat.el")' \	  --eval '(load "../UTILITIES/org-fixup.el")' \	  --eval '(org-make-org-install)'# How to generate org-version.elMAKE_ORG_VERSION = $(BATCHL) \	  --eval '(load "org-compat.el")' \	  --eval '(load "../UTILITIES/org-fixup.el")' \	  --eval '(org-make-org-version "$(ORGVERSION)" "$(GITVERSION)" "$(datadir)")'# How to byte-compile the whole source directoryELCDIR	= $(BATCHL) \	  --eval '(batch-byte-recompile-directory 0)'# How to make a pdf file from a texinfo fileTEXI2PDF = texi2pdf --batch --clean# How to make a pdf file from a tex filePDFTEX = pdftex# How to create directories with leading path components# MKDIR	= mkdir -m 755 -p # try this if you have no installMKDIR	= install -m 755 -d# How to create the info files from the texinfo fileMAKEINFO = makeinfo# How to create the HTML fileTEXI2HTML = makeinfo --html --number-sections# How to find filesFIND	= find# How to remove filesRM	= rm -f# How to remove files recursivelyRMR	= rm -fr# How to copy the lisp files and elc files to their destination.# CP	= cp -p	# try this if you have no installCP	= install -m 644 -p# How to obtain administrative privileges# leave blank if you don't need this# SUDO	=SUDO	= sudo# Name of the program to install info files# INSTALL_INFO = ginstall-info # Debian: avoid harmless warning messageINSTALL_INFO = install-info
 |