1 ####======= Common Declarations for *all* ESS -*-Makefile-*-s ==========
3 ## To install ESS for all users on your unix system:
4 ## 1. Edit ess-site.el accordingly
5 ## 2. Edit Section 1 and 2 below
6 ## 3. Execute: gmake install
9 ## Installation variables for your emacs variant
11 ## Variable Description
12 ## EMACS use emacs for GNU Emacs, xemacs for XEmacs
13 ## EMACSBATCH emacs/xemacs command for compiling elisp files
14 ## LISPDIR Destination of compiled elisp files
15 ## INFODIR Destination of info files
16 ## ETCDIR Destination of script and icon files
17 ## PREFIX/DESTDIR Directory prepended to LISPDIR, INFODIR & ETCDIR
18 ## Specify either PREFIX or DESTDIR to over-ride /usr/local
24 LISPDIR=$(PREFIX)/share/emacs/site-lisp
25 INFODIR=$(PREFIX)/info
26 ETCDIR =$(PREFIX)/share/emacs/etc/ess
30 #LISPDIR=$(PREFIX)/lib/xemacs/xemacs-packages/lisp/ess
31 #INFODIR=$(PREFIX)/lib/xemacs/xemacs-packages/info
32 #ETCDIR =$(PREFIX)/lib/xemacs/xemacs-packages/etc/ess
34 ## the following command is the same for recent versions of both Emacs and XEmacs
35 EMACSBATCH = $(EMACS) -batch -no-site-file -no-init-file
38 ## Installation variables for your unix variant
40 ## Variable Description
41 ## SHELL Bourne shell or XPG4 compliant shell
42 ## MAKEINFO program to convert .texi{nfo} to .info
43 ## MAKEHTML program to convert .texi{nfo} to .html
44 ## MAKETXT program to convert .texi{nfo} to .txt
45 ## INSTALLDIR to create directories, if necessary
46 ## INSTALL to copy files, file copying commands expect 2 args:
47 ## 1st) source-file & 2nd) target-directory
51 MAKEINFO = LANG=C makeinfo
52 MAKEHTML = $(MAKEINFO) --html --no-split
53 ## ^^^^^^^^^^ today's bandwidth is fast
54 MAKETXT = $(MAKEINFO) --no-validate --no-headers --no-split -o -
56 INSTALLDIR = install -d
57 #INSTALLDIR = mkdir -p
63 ## For ESS developers only, not part of installation procedure
64 ## Note that $(shell ... ) only works with GNU make
66 ## Variable Description
67 ## ESSVERSION set to the contents of VERSION
68 ## ESSDIR ess- prepended to ESSVERSION
69 ## ESSVERSIONTAG repository tags cannot contain .'s
70 ## GNUTAR the name of GNU tar to support the z option
71 ## SVN_URL repository URL
72 ## UPLOAD_DIR Martin's upload directory
74 ESSVERSION=$(shell cat ./VERSION 2> /dev/null || cat ../VERSION)
75 ESSDIR=ess-$(ESSVERSION)
76 ESSVERSIONTAG=ESS-$(shell sed 's/\./-/g' VERSION)
78 SVN_URL = https://svn.R-project.org/ESS
79 UPLOAD_DIR = /u/maechler/emacs/ess-WWW/downloads/ess
81 .SUFFIXES: .i3 .m3 .nw .tex .dvi .html .c .h .el .elc