-
Notifications
You must be signed in to change notification settings - Fork 162
/
Makeconf
113 lines (99 loc) · 3.92 KB
/
Makeconf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
## To install ESS for all users on your unix system:
## 1. Check variables below, edit as necessary
## 2. make
## 3. make install
## Section 1
## Installation variables for your Emacs variant
##
## Variable Description
## EMACS Path to GNU Emacs
## EMACSBATCH How to run Emacs as batch
## SITELISP Destination of site-lisp
## ESSDESTDIR Destination of ESS
DESTDIR ?= /usr
PREFIX ?= $(DESTDIR)
##__ GNU Emacs __
EMACS ?= emacs
SITELISP ?= $(PREFIX)/share/emacs/site-lisp
ESSDESTDIR ?= $(SITELISP)/ess
EMACSBATCH ?= $(EMACS) -batch -Q
# ##__ GNU Emacs __ preparing for a emacs 29.1 "ESS" release
# DESTDIR = /usr/local
# PREFIX = $(DESTDIR)
# EMACS = $(PREFIX)/emacs/29.1/bin/emacs
# SITELISP = $(PREFIX)/emacs/29.1/share/emacs/site-lisp
# ESSDESTDIR = $(SITELISP)/ess
# EMACSBATCH = $(EMACS) -batch -Q
##__ GNU Emacs __ for macOS (and see Homebrew below)
# PREFIX=/Applications/Emacs.app/Contents/Resources
# EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs
# ## standard site-lisp
# SITELISP=$(PREFIX)/site-lisp
# LISPDIR=$(SITELISP)/ess
# ## Vincent Goulet's Modified Emacs needs the following 2 settings
# ## SITELISP=$(PREFIX)/lisp
# ## LISPDIR=$(SITELISP)/ess/lisp
# ESSDESTDIR=$(LISPDIR)
# INFODIR=/usr/local/info
# ETCDIR =$(PREFIX)/etc/ess
# EMACSBATCH=$(EMACS) -batch -Q
### R provides makeinfo/texi2pdf/texi2dvi outside of the PATH
### add the line "/opt/R/MACHINE/bin" to the file /etc/paths
##__ GNU Emacs with Homebrew __ for macOS
## site-lisp is not within .app directory
# PREFIX=/Applications/Emacs.app/Contents/Resources
# EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs
# SITELISP=/opt/homebrew/share/emacs/site-lisp
# LISPDIR=$(SITELISP)/ess
# INFODIR=/usr/local/info
# ETCDIR =$(PREFIX)/etc/ess
##__ Aquamacs __ (donated by Dan Knoepfle, Mar 26, 2011)
# PREFIX=/Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes
# EMACS=/Applications/Aquamacs.app/Contents/MacOS/Aquamacs
# SITELISP=/Applications/Aquamacs.app/Contents/Resources/lisp
# LISPDIR=$(PREFIX)/ess-mode/lisp
# INFODIR=/Applications/Aquamacs.app/Contents/Resources/info
# ETCDIR=$(PREFIX)/ess-mode/etc
## COMPILE-FLAGS is set in tests
COMPILE ?= $(EMACSBATCH) $(COMPILE-FLAGS) --directory . --directory ./obsolete -f batch-byte-compile
COMPILE-SIMPLE ?= $(EMACSBATCH) --directory . --directory ./obsolete -f batch-byte-compile
## Section 2
## Installation variables for your unix variant
##
## Variable Description
## MAKEINFO program to convert .texi{nfo} to .info
## MAKEHTML program to convert .texi{nfo} to .html
## MAKETXT program to convert .texi{nfo} to .txt
## INSTALLDIR to create directories, if necessary
## INSTALL to copy files, file copying commands expect 2 args:
## 1st) source-file & 2nd) target-directory
## UNINSTALL deletes all arguments
## DOCDIR Destination of other doc files
## DOWNLOAD Download internet file to stdout
MAKEINFO ?= LC_ALL=C LANG=en makeinfo
MAKEHTML ?= $(MAKEINFO) --html --no-split --css-include=atouchofstyle.css -o
MAKETXT ?= $(MAKEINFO) --no-validate --plaintext --no-split -o -
INSTALLDIR ?= mkdir -p
INSTALL ?= cp -p
UNINSTALL ?= rm -f
TEXI2PDF ?= LANG=C texi2dvi --pdf
DOWNLOAD ?= $(shell which wget > /dev/null && echo 'wget -qO -' || which curl)
INSTALLINFO ?= install-info
## Section 3
## For ESS developers only, not part of installation procedure
##
## Variable Description
## GNUTAR the name of GNU tar to support the z option
## SVN_URL SVN repository URL (repo retired)
## UPLOAD_DIR Martin's upload directory
## ESS_HOMEPAGE Martin's svn co https://svn.r-project.org/ESS-web/trunk
##
GNUTAR=tar
# SVN_URL = https://svn.r-project.org/ESS
UPLOAD_DIR = /u/maechler/emacs/ess-WWW/downloads/ess
ESS_HOMEPAGE = /u/maechler/emacs/ESS-web
GPG=$(shell (gpg2 --version > /dev/null 2>&1 && echo gpg2 ) || echo gpg )
.SUFFIXES: .i3 .m3 .nw .tex .dvi .html .c .h .el .elc
# Local Variables:
# mode: makefile-gmake
# End: