Ver Fonte

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).
Achim Gratz há 13 anos atrás
pai
commit
2386380c72
1 ficheiros alterados com 13 adições e 12 exclusões
  1. 13 12
      default.mk

+ 13 - 12
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,28 +20,29 @@ 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
 
 # How to create directories
-MKDIR = mkdir -p
+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
+# 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