~ubuntu-branches/ubuntu/raring/ess/raring-proposed

« back to all changes in this revision

Viewing changes to Makeconf

  • Committer: Package Import Robot
  • Author(s): Dirk Eddelbuettel
  • Date: 2012-05-09 08:00:38 UTC
  • mfrom: (1.2.23)
  • Revision ID: package-import@ubuntu.com-20120509080038-7an3nhbtgaj02a17
Tags: 12.04-1-1
New upstream patch version released today

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
## ETCDIR          Destination of script and icon files
16
16
## PREFIX(DESTDIR) Directory prepended to LISPDIR, INFODIR, DOCDIR & ETCDIR
17
17
##                 Specify either PREFIX or DESTDIR to over-ride /usr/local
18
 
DESTDIR=/usr/local
 
18
DESTDIR=/opt/local
19
19
PREFIX=$(DESTDIR)
20
20
#
21
21
##__ GNU Emacs __
53
53
## INSTALLDIR      to create directories, if necessary
54
54
## INSTALL         to copy files, file copying commands expect 2 args:
55
55
##                 1st) source-file & 2nd) target-directory
 
56
## UNINSTALL       deletes all arguments
56
57
## DOCDIR          Destination of other doc files
57
58
#
58
59
SHELL = /bin/sh
69
70
INSTALL = cp -p
70
71
#INSTALL = install
71
72
#
 
73
UNINSTALL = rm -f
 
74
#
72
75
DOCDIR=$(PREFIX)/share/doc/ess
73
76
 
74
77
## Section 3
84
87
## UPLOAD_DIR      Martin's upload directory
85
88
## ESS_HOMEPAGE    Martin's svn co https://svn.r-project.org/ESS-web/trunk
86
89
##
87
 
#ESSVERSION=$(shell cat ./VERSION 2> /dev/null || cat ../VERSION)
 
90
# Would be ok, iff all releases were "YY-MM" -- but we have patch releases:
 
91
#ESSVERSION=$(shell echo "`date +%y.%m`")
 
92
ESSVERSION=$(shell cat ./VERSION 2> /dev/null || cat ../VERSION)
88
93
#ESSVERSIONTAG=ESS-$(shell sed 's/\./-/g' VERSION)
89
 
ESSVERSION=$(shell echo "`date +%y.%m`")
90
 
ESSVERSIONsvn=$(shell echo "`date +%y-%m`-r`svnversion`")
 
94
ESSfromSVN=$(shell test -d .svn && echo 'yes')
 
95
ifeq ($(ESSfromSVN),yes)
 
96
  ESSVERSIONsvn=$(shell svn up && echo "`date +%y-%m`-r`svnversion`")
 
97
else
 
98
  ESSVERSIONsvn=$(shell echo "`date +%y-%m`_not_svn")
 
99
endif
91
100
ESSVERSIONTAG=$(ESSVERSIONsvn)
92
101
ESSDIR=ess-$(ESSVERSION)
93
102
GNUTAR=tar