forked from emacs-ess/ESS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makeconf
123 lines (113 loc) · 4.39 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
114
115
116
117
118
119
120
121
122
123
####======= Common Declarations for *all* ESS -*-Makefile-*-s ==========
## To install ESS for all users on your unix system:
## 1. Edit Section 1 and 2 below
## 2. Execute: gmake install
## Section 1
## Installation variables for your emacs variant
##
## Variable Description
## EMACS use emacs for GNU Emacs, xemacs for XEmacs
## EMACSBATCH emacs/xemacs command for compiling elisp files
## SITELISP Destination of site-lisp; but some variants have no site-lisp
## LISPDIR Destination of compiled elisp files
## INFODIR Destination of info files
## ETCDIR Destination of script and icon files
## PREFIX(DESTDIR) Directory prepended to SITELISP, INFODIR, DOCDIR & ETCDIR
## Specify either PREFIX or DESTDIR to over-ride /usr
DESTDIR=/usr
PREFIX=$(DESTDIR)
#
##__ GNU Emacs __
EMACS=emacs
SITELISP=$(PREFIX)/share/emacs/site-lisp
LISPDIR=$(SITELISP)/ess
INFODIR=$(PREFIX)/share/info
ETCDIR =$(PREFIX)/share/emacs/etc/ess
##__ XEmacs __
#EMACS=$(PREFIX)/bin/xemacs
#SITELISP=$(PREFIX)/share/xemacs/site-packages/lisp
#LISPDIR=$(SITELISP)/ess
#INFODIR=$(PREFIX)/share/xemacs/site-packages/info
#ETCDIR =$(PREFIX)/share/xemacs/site-packages/etc/ess
#
##__ GNU Emacs __ for Mac OS X with NeXTstep (Cocoa or GNUstep)
# PREFIX=/Applications/Emacs.app/Contents/Resources
# EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs
# SITELISP=$(PREFIX)/site-lisp
# LISPDIR=$(SITELISP)/ess
# INFODIR=$(PREFIX)/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
#
## the following command is the same for recent versions of both Emacs and XEmacs
EMACSBATCH = $(EMACS) -batch -no-site-file -no-init-file
## Section 2
## Installation variables for your unix variant
##
## Variable Description
## SHELL Bourne shell or XPG4 compliant shell
## 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
#
SHELL = /bin/sh
#
MAKEINFO = LC_ALL=C LANG=en makeinfo
# new: MAKEHTML <output>.html <input>.texi {necessary to build 'Index'}
MAKEHTML = $(MAKEINFO) --html --no-split --css-include=atouchofstyle.css -o
## ^^^^^^^^^^ today's bandwidth is fast
#MAKETXT = $(MAKEINFO) --no-validate --no-headers --no-split -o -
MAKETXT = $(MAKEINFO) --no-validate --plaintext --no-split -o -
#
INSTALLDIR = mkdir -p
#INSTALLDIR = install -d
#
INSTALL = cp -p
#INSTALL = install
#
UNINSTALL = rm -f
#
DOCDIR=$(PREFIX)/share/doc/ess
## Section 3
## For ESS developers only, not part of installation procedure
## Note that $(shell ... ) only works with GNU make
##
## Variable Description
## ESSVERSION set to the contents of VERSION
## ESSDIR ess- prepended to ESSVERSION
## ESSVERSIONTAG repository tags cannot contain .'s
## GNUTAR the name of GNU tar to support the z option
## SVN_URL repository URL
## UPLOAD_DIR Martin's upload directory
## ESS_HOMEPAGE Martin's svn co https://svn.r-project.org/ESS-web/trunk
##
# Would be ok, iff all releases were "YY-MM" -- but we have patch releases:
#ESSVERSION=$(shell echo "`date +%y.%m`")
ESSVERSION=$(shell cat ./VERSION 2> /dev/null || cat ../VERSION)
#ESSVERSIONTAG=ESS-$(shell sed 's/\./-/g' VERSION)
## Currently only works when run in top ess/ directory; not in etc/ or lisp/ :
ESSfromSVN=$(shell test -d .svn && echo 'yes')
ifeq ($(ESSfromSVN),yes)
ESSVERSIONsvn=$(shell svn up && echo "`date +%y-%m`-r`svnversion`")
else
ESSVERSIONsvn=$(shell echo "`date +%y-%m`_not_svn")
endif
ESSVERSIONTAG=$(ESSVERSIONsvn)
ESSDIR=ess-$(ESSVERSION)
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
.SUFFIXES: .i3 .m3 .nw .tex .dvi .html .c .h .el .elc