####======= Common Declarations for *all* ESS -*-Makefile-*-s ========== ## To install ESS for all users on your unix system: ## 1. Edit ess-site.el accordingly ## 2. Edit Section 1 and 2 below ## 3. 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 ## LISPDIR Destination of compiled elisp files ## INFODIR Destination of info files ## ETCDIR Destination of script and icon files ## PREFIX(DESTDIR) Directory prepended to LISPDIR, INFODIR, DOCDIR & ETCDIR ## Specify either PREFIX or DESTDIR to over-ride /usr/local DESTDIR=/usr/local PREFIX=$(DESTDIR) # ## GNU Emacs EMACS=emacs LISPDIR=$(PREFIX)/share/emacs/site-lisp INFODIR=$(PREFIX)/info ETCDIR =$(PREFIX)/share/emacs/etc/ess ## XEmacs #EMACS=xemacs #LISPDIR=$(PREFIX)/share/xemacs/site-packages/lisp/ess #INFODIR=$(PREFIX)/share/xemacs/site-packages/info #ETCDIR =$(PREFIX)/share/xemacs/site-packages/etc/ess # ## 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 ## DOCDIR Destination of other doc files # SHELL = /bin/sh # MAKEINFO = LC_ALL=C LANG=en makeinfo MAKEHTML = $(MAKEINFO) --html --no-split ## ^^^^^^^^^^ today's bandwidth is fast #MAKETXT = $(MAKEINFO) --no-validate --no-headers --no-split -o - MAKETXT = $(MAKEINFO) --no-validate --plaintext --no-split -o - # INSTALLDIR = install -d #INSTALLDIR = mkdir -p # INSTALL = cp -p #INSTALL = install # 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 ## ESSVERSION=$(shell cat ./VERSION 2> /dev/null || cat ../VERSION) ESSDIR=ess-$(ESSVERSION) ESSVERSIONTAG=ESS-$(shell sed 's/\./-/g' VERSION) 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