mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-20 16:18:49 +00:00
* Makefile: just keep help target (now also default for no target) and include all other parts from here. * default.mk: user editable variables with their default values * maint.mk: definitions by maintainer, should not be touched by user * targets.mk: user callable targets * maint-targets.mk: targets for maintenance, should not be called by user * dependencies.mk: keep order during compile (could become auto-generated) This is the first in a series of patches that restructures the Makefile to achieve easier customization and separation of different concerns (mainly user vs. maintenance of the distribution). This first patch simply establishes a set of files without changing anything else to provide a clean starting point. It uses GNU make extensions since Makefile already depends on GNU make anyway.
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
##----------------------------------------------------------------------
|
|
## YOU MUST EDIT THE FOLLOWING LINES
|
|
##----------------------------------------------------------------------
|
|
|
|
# Name of your emacs binary
|
|
EMACS=emacs
|
|
|
|
# Where local software is found
|
|
prefix=/usr/local
|
|
|
|
# Where local lisp files go.
|
|
lispdir = $(prefix)/share/emacs/site-lisp
|
|
|
|
# Where info files go.
|
|
infodir = $(prefix)/share/info
|
|
|
|
##----------------------------------------------------------------------
|
|
## YOU MAY NEED TO EDIT THESE
|
|
##----------------------------------------------------------------------
|
|
|
|
# Using emacs in batch mode.
|
|
|
|
BATCH=$(EMACS) -batch -q -no-site-file -eval \
|
|
"(setq load-path (cons (expand-file-name \"./lisp/\") (cons \"$(lispdir)\" load-path)))"
|
|
|
|
# Specify the byte-compiler for compiling org-mode files
|
|
ELC= $(BATCH) -f batch-byte-compile
|
|
|
|
# How to make a pdf file from a texinfo file
|
|
TEXI2PDF = texi2pdf
|
|
|
|
# How to create directories
|
|
MKDIR = mkdir -p
|
|
|
|
# How to create the info files from the texinfo file
|
|
MAKEINFO = makeinfo
|
|
|
|
# How to create the HTML file
|
|
TEXI2HTML = makeinfo --html --number-sections
|
|
TEXI2HTMLNOPSLIT = makeinfo --html --no-split --number-sections
|
|
|
|
# How to copy the lisp files and elc files to their distination.
|
|
CP = cp -p
|
|
|
|
# Name of the program to install info files
|
|
INSTALL_INFO=install-info
|
|
|