*** empty log message ***
[ess.git] / Makeconf
blob34047efa66c4e43abce343a610e2a792f51740e8
1 ####======= Common Declarations for *all* ESS -*- Makefile -*- s ==========
3 # Specify either PREFIX or DESTDIR, whatever suits you
4 DESTDIR=/usr/local
5 PREFIX=$(DESTDIR)
7 # Bourne shell or XPG4 compliant shell
8 SHELL = /bin/sh
10 ## emacs variant that you are installing ESS for.
12 ## emacs
13 EMACS=emacs
14 ## xemacs
15 #EMACS=xemacs
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
23 # Emacs
24 LISPDIR =$(PREFIX)/share/emacs/site-lisp
25 # XEmacs
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
35 #  to copy the files
36 INSTALL = cp -p
37 #INSTALL = install
39 ## the sed that you want to use
40 SED = sed
42 # What GZCAT is called on your system (GNU gzip "cat")
43 #GZCAT = gzcat
44 GZCAT = zcat
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:
56 ## ESSVERSION=5.2.0
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