1
1
####======= Common Declarations for *all* ESS -*- Makefile -*- s ==========
3
# Specify either PREFIX or DESTDIR, whatever suits you
7
# Bourne shell or XPG4 compliant shell
8
## emacs distribution that you are installing ESS for.
10
## emacs variant that you are installing ESS for.
10
## EMACS 21: {MM: Keep this as default -- ``has always been''}
15
17
EMACSBATCH = $(EMACS) -batch -no-site-file -no-init-file
19
# default xemacs package installation tree
20
# necessary for target xemacs-links
21
XEMACSDIR=$(PREFIX)/lib/xemacs
23
# Note CVS was replaced by Subversion 07/2004
17
24
## Updating ChangeLog via CVS with emacs requires the vc package!
18
25
## If this setting doesn't suit you, you can use the command line:
19
## make ChangeLog EMACSLOGCVS="myemacs -mybatchflags -mychangelogflags"
22
#EMACSLOGCVS=$(EMACSBATCH) -f vc-update-changelogs
24
#EMACSLOGCVS=$(EMACSBATCH) -f vc-update-change-log
26
## Some install commands expect target-directory source-file,
27
## but we want source-file target-directory; we also want to
28
## preserve owner, group and time-stamp; lastly, note that we
29
## are assuming that the target-directory exists
26
## make ChangeLog EMACSLOGCVS="-f mychangelogfunc"
27
## EMACSLOGCVS=-f vc-update-change-log
29
# Destination of your info files
30
INFODIR =$(PREFIX)/info
32
# Destination of your byte-compiled elisp (.elc) files
34
LISPDIR =$(PREFIX)/share/emacs/site-lisp
36
#LISPDIR = $(XEMACSDIR)/xemacs-packages/lisp/ess
38
## two install commands are needed; one to create directories,
39
## if necessary, and another to copy the files
40
# to create directories
41
INSTALLDIR = install -d
42
#INSTALLDIR = mkdir -p
44
## file copying commands expect source-file target-directory
49
## the sed that you want to use
32
52
# What GZCAT is called on your system (GNU gzip "cat")
36
# program to convert .texi{nfo} to .info
56
# program to convert .texi{nfo} to .info, .txt, and .html
57
MAKEINFO = LANG=C makeinfo
38
58
MAKETXT = $(MAKEINFO) --no-validate --no-headers --no-split -o -
59
MAKEHTML = $(MAKEINFO) --html --no-split
60
## ^^^^^^^^^^ today's bandwidth is fast
40
62
## Set ESSVERSION to the contents of VERSION
41
63
## This will only work with GNU make, but you won't
43
65
## If you don't have GNU make, edit this file; for example:
44
66
## ESSVERSION=5.2.0
45
67
ESSVERSION=$(shell cat ./VERSION 2> /dev/null || cat ../VERSION)
47
# Destination of your info files relative to the doc directory
48
# defaults to the info directory
51
# Destination of your byte-compiled elisp (.elc) files
52
# relative to the lisp directory (which is the default)
68
ESSDIR=ess-$(ESSVERSION)
70
## Set ESSVERSIONTAG to ESS-$(ESSVERSION) with .'s replaced by -s.
71
## CVS tags can NOT contain .'s.
72
## This will only work with GNU make, but you won't
73
## need to change this unless you are an ESS developer.
74
## If you don't have GNU make, use the command line; for example:
75
## make tag ESSVERSION=5.2.0 ESSVERSIONTAG=ESS-5-2-0
76
ESSVERSIONTAG=ESS-$(shell sed 's/\./-/g' VERSION)
78
SVN_URL = https://svn.R-project.org/ESS
80
UPLOAD_DIR = /u/maechler/emacs/ess-WWW/downloads/ess
55
83
.SUFFIXES: .i3 .m3 .nw .tex .dvi .html .c .h .el .elc