~ubuntu-branches/ubuntu/edgy/ess/edgy

« back to all changes in this revision

Viewing changes to Makeconf

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2004-11-11 00:51:43 UTC
  • mfrom: (1.1.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20041111005143-wv1cih1h04xyrxrb
Tags: 5.2.3-3
* repair broken replace-regexp-in-string -> ess-replace-regexp-in-string
  patch
* expand autoload functionality in emacsen-startup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
####======= Common Declarations for *all* ESS -*- Makefile -*- s ==========
2
2
 
3
 
PREFIX=/usr/local
 
3
# Specify either PREFIX or DESTDIR, whatever suits you
 
4
DESTDIR=/usr/local
 
5
PREFIX=$(DESTDIR)
4
6
 
5
 
# no csh please
 
7
# Bourne shell or XPG4 compliant shell
6
8
SHELL = /bin/sh
7
9
 
8
 
## emacs distribution that you are installing ESS for.
 
10
## emacs variant that you are installing ESS for.
9
11
##
10
 
## EMACS 21:  {MM: Keep this as default -- ``has always been''}
 
12
## emacs
11
13
EMACS=emacs
12
 
## XEMACS 21:
 
14
## xemacs
13
15
#EMACS=xemacs
14
16
 
15
17
EMACSBATCH = $(EMACS) -batch -no-site-file -no-init-file
16
18
 
 
19
# default xemacs package installation tree
 
20
# necessary for target xemacs-links
 
21
XEMACSDIR=$(PREFIX)/lib/xemacs
 
22
 
 
23
#  Note CVS was replaced by Subversion 07/2004
17
24
## Updating ChangeLog via CVS with emacs requires the vc package!
18
25
## If this setting doesn't suit you, you can use the command line:
19
 
## make ChangeLog EMACSLOGCVS="myemacs -mybatchflags -mychangelogflags"
20
 
 
21
 
# if Xemacs:
22
 
#EMACSLOGCVS=$(EMACSBATCH) -f vc-update-changelogs
23
 
# if Emacs:
24
 
#EMACSLOGCVS=$(EMACSBATCH) -f vc-update-change-log
25
 
 
26
 
## Some install commands expect target-directory source-file,
27
 
## but we want source-file target-directory; we also want to
28
 
## preserve owner, group and time-stamp; lastly, note that we
29
 
## are assuming that the target-directory exists
 
26
## make ChangeLog EMACSLOGCVS="-f mychangelogfunc"
 
27
## EMACSLOGCVS=-f vc-update-change-log
 
28
 
 
29
# Destination of your info files
 
30
INFODIR =$(PREFIX)/info
 
31
 
 
32
# Destination of your byte-compiled elisp (.elc) files
 
33
# Emacs
 
34
LISPDIR =$(PREFIX)/share/emacs/site-lisp
 
35
# XEmacs
 
36
#LISPDIR = $(XEMACSDIR)/xemacs-packages/lisp/ess
 
37
 
 
38
## two install commands are needed; one to create directories,
 
39
## if necessary, and another to copy the files
 
40
#  to create directories
 
41
INSTALLDIR = install -d
 
42
#INSTALLDIR = mkdir -p
 
43
 
 
44
## file copying commands expect source-file target-directory
 
45
#  to copy the files
30
46
INSTALL = cp -p
 
47
#INSTALL = install
 
48
 
 
49
## the sed that you want to use
 
50
SED = sed
31
51
 
32
52
# What GZCAT is called on your system (GNU gzip "cat")
33
53
#GZCAT = gzcat
34
54
GZCAT = zcat
35
55
 
36
 
# program to convert .texi{nfo} to .info
37
 
MAKEINFO = makeinfo
 
56
# program to convert .texi{nfo} to .info, .txt, and .html
 
57
MAKEINFO = LANG=C makeinfo
38
58
MAKETXT = $(MAKEINFO) --no-validate --no-headers --no-split -o -
 
59
MAKEHTML = $(MAKEINFO) --html --no-split
 
60
##                            ^^^^^^^^^^ today's bandwidth is fast
39
61
 
40
62
## Set ESSVERSION to the contents of VERSION
41
63
## This will only work with GNU make, but you won't
43
65
## If you don't have GNU make, edit this file; for example:
44
66
## ESSVERSION=5.2.0
45
67
ESSVERSION=$(shell cat ./VERSION 2> /dev/null || cat ../VERSION)
46
 
 
47
 
# Destination of your info files relative to the doc directory
48
 
# defaults to the info directory
49
 
INFODIR = ../info
50
 
 
51
 
# Destination of your byte-compiled elisp (.elc) files
52
 
# relative to the lisp directory (which is the default)
53
 
LISPDIR = .
 
68
ESSDIR=ess-$(ESSVERSION)
 
69
 
 
70
## Set ESSVERSIONTAG to ESS-$(ESSVERSION) with .'s replaced by -s.
 
71
## CVS tags can NOT contain .'s.
 
72
## This will only work with GNU make, but you won't
 
73
## need to change this unless you are an ESS developer.
 
74
## If you don't have GNU make, use the command line; for example:
 
75
## make tag ESSVERSION=5.2.0 ESSVERSIONTAG=ESS-5-2-0
 
76
ESSVERSIONTAG=ESS-$(shell sed 's/\./-/g' VERSION)
 
77
 
 
78
SVN_URL = https://svn.R-project.org/ESS
 
79
 
 
80
UPLOAD_DIR = /u/maechler/emacs/ess-WWW/downloads/ess
 
81
 
54
82
 
55
83
.SUFFIXES: .i3 .m3 .nw .tex .dvi .html .c .h .el .elc