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
|
####======= 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 & 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)/lib/xemacs/xemacs-packages/lisp/ess
#INFODIR=$(PREFIX)/lib/xemacs/xemacs-packages/info
#ETCDIR =$(PREFIX)/lib/xemacs/xemacs-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
#
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 -
#
INSTALLDIR = install -d
#INSTALLDIR = mkdir -p
#
INSTALL = cp -p
#INSTALL = install
## 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
##
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
.SUFFIXES: .i3 .m3 .nw .tex .dvi .html .c .h .el .elc
|