1 ####======= Common Declarations for *all* ESS -*- Makefile -*- s ==========
3 # Specify either PREFIX or DESTDIR, whatever suits you
7 # Bourne shell or XPG4 compliant shell
10 ## emacs variant that you are installing ESS for.
17 EMACSBATCH = $(EMACS) -batch -no-site-file -no-init-file
19 # Destination of your info files
20 INFODIR =$(PREFIX)/info
22 # Destination of your byte-compiled elisp (.elc) files
24 LISPDIR =$(PREFIX)/share/emacs/site-lisp
26 #LISPDIR = $(XEMACSDIR)/xemacs-packages/lisp/ess
28 ## two install commands are needed; one to create directories,
29 ## if necessary, and another to copy the files
30 # to create directories
31 INSTALLDIR = install -d
32 #INSTALLDIR = mkdir -p
34 ## file copying commands expect source-file target-directory
39 ## the sed that you want to use
42 # What GZCAT is called on your system (GNU gzip "cat")
46 # program to convert .texi{nfo} to .info, .txt, and .html
47 MAKEINFO = LANG=C makeinfo
48 MAKETXT = $(MAKEINFO) --no-validate --no-headers --no-split -o -
49 MAKEHTML = $(MAKEINFO) --html --no-split
50 ## ^^^^^^^^^^ today's bandwidth is fast
52 ## Set ESSVERSION to the contents of VERSION
53 ## This will only work with GNU make, but you won't
54 ## need to change this unless you are an ESS developer.
55 ## If you don't have GNU make, edit this file; for example:
57 ESSVERSION=$(shell cat ./VERSION 2> /dev/null || cat ../VERSION)
58 ESSDIR=ess-$(ESSVERSION)
60 ## Set ESSVERSIONTAG to ESS-$(ESSVERSION) with .'s replaced by -s.
61 ## CVS tags can NOT contain .'s.
62 ## This will only work with GNU make, but you won't
63 ## need to change this unless you are an ESS developer.
64 ## If you don't have GNU make, use the command line; for example:
65 ## make tag ESSVERSION=5.2.0 ESSVERSIONTAG=ESS-5-2-0
66 ESSVERSIONTAG=ESS-$(shell sed 's/\./-/g' VERSION)
68 SVN_URL = https://svn.R-project.org/ESS
70 UPLOAD_DIR = /u/maechler/emacs/ess-WWW/downloads/ess
73 .SUFFIXES: .i3 .m3 .nw .tex .dvi .html .c .h .el .elc