change defaults to something that should work on most Linux systems and Cygwin
* default.mk: change prefix to /usr/share and do some formatting This change establishes the baseline installation path that should work out-of-the-box on Linux and Cygwin when the install is done system-wide (which needs administrator privileges).
This commit is contained in:
parent
b0ebd4365e
commit
2386380c72
23
default.mk
23
default.mk
|
@ -3,16 +3,16 @@
|
|||
##----------------------------------------------------------------------
|
||||
|
||||
# Name of your emacs binary
|
||||
EMACS=emacs
|
||||
EMACS = emacs
|
||||
|
||||
# Where local software is found
|
||||
prefix=/usr/local
|
||||
prefix = /usr/share
|
||||
|
||||
# Where local lisp files go.
|
||||
lispdir = $(prefix)/share/emacs/site-lisp
|
||||
lispdir = $(prefix)/emacs/site-lisp
|
||||
|
||||
# Where info files go.
|
||||
infodir = $(prefix)/share/info
|
||||
infodir = $(prefix)/info
|
||||
|
||||
##----------------------------------------------------------------------
|
||||
## YOU MAY NEED TO EDIT THESE
|
||||
|
@ -20,11 +20,12 @@ infodir = $(prefix)/share/info
|
|||
|
||||
# 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)))"
|
||||
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
|
||||
ELC = $(BATCH) -f batch-byte-compile
|
||||
|
||||
# How to make a pdf file from a texinfo file
|
||||
TEXI2PDF = texi2pdf
|
||||
|
@ -37,11 +38,11 @@ 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
|
||||
# How to copy the lisp files and elc files to their destination.
|
||||
# CP = cp -p # try this if there is no install
|
||||
CP = install -p
|
||||
|
||||
# Name of the program to install info files
|
||||
INSTALL_INFO=install-info
|
||||
INSTALL_INFO = install-info
|
||||
|
||||
|
|
Loading…
Reference in New Issue