author | Jon Tibble <meths@btinternet.com> |
Mon, 04 May 2015 14:04:39 +0100 | |
branch | oi_151a |
changeset 254 | 9c2a4ac793f0 |
parent 138 | acb1a177bb6d |
permissions | -rw-r--r-- |
0 | 1 |
# |
2 |
# |
|
3 |
# CDDL HEADER START |
|
4 |
# |
|
5 |
# The contents of this file are subject to the terms of the |
|
6 |
# Common Development and Distribution License (the "License"). |
|
7 |
# You may not use this file except in compliance with the License. |
|
8 |
# |
|
9 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
10 |
# or http://www.opensolaris.org/os/licensing. |
|
11 |
# See the License for the specific language governing permissions |
|
12 |
# and limitations under the License. |
|
13 |
# |
|
14 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
15 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
16 |
# If applicable, add the following below this CDDL HEADER, with the |
|
17 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
18 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
19 |
# |
|
20 |
# CDDL HEADER END |
|
21 |
# |
|
138
acb1a177bb6d
Remove python-24 dependency from grails
Jon Tibble <meths@btinternet.com>
parents:
0
diff
changeset
|
22 |
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. |
0 | 23 |
# |
138
acb1a177bb6d
Remove python-24 dependency from grails
Jon Tibble <meths@btinternet.com>
parents:
0
diff
changeset
|
24 |
#ident "@(#)Makefile.sfw 1.4 10/11/01 SMI" |
0 | 25 |
|
26 |
include ../Makefile.cmd |
|
27 |
||
28 |
GRAILS_VER=1.0.3 |
|
29 |
GRAILS_HOME=grails-${GRAILS_VER} |
|
30 |
||
31 |
clean: |
|
32 |
$(RM) -r ${GRAILS_HOME} tmp |
|
33 |
||
34 |
all: ${GRAILS_HOME} |
|
35 |
mkdir -p tmp |
|
36 |
(cd ${GRAILS_HOME}; env - \ |
|
37 |
PATH=${COMPONENT_TOP}/${GRAILS_HOME}/bin:${COMPONENT_TOP}/${GRAILS_HOME}/ant/bin:${PATH} \ |
|
38 |
JAVA_HOME=${JAVA_ROOT} \ |
|
138
acb1a177bb6d
Remove python-24 dependency from grails
Jon Tibble <meths@btinternet.com>
parents:
0
diff
changeset
|
39 |
PYTHON=${PYTHON26} \ |
0 | 40 |
ANT_OPTS="-Djava.io.tmpdir=${SRC}/cmd/grails/tmp" \ |
41 |
ant) |
|
42 |
||
43 |
${GRAILS_HOME}: |
|
44 |
$(GTAR) xpfz grails-src-${GRAILS_VER}.tar.gz > /dev/null |
|
45 |
$(GPATCH) -i skip-tests.patch ${GRAILS_HOME}/ant/build/bundle.xml |
|
46 |
$(GPATCH) -p0 < javadoc.xml.patch |
|
47 |
||
48 |
install: all |
|
138
acb1a177bb6d
Remove python-24 dependency from grails
Jon Tibble <meths@btinternet.com>
parents:
0
diff
changeset
|
49 |
env \ |
acb1a177bb6d
Remove python-24 dependency from grails
Jon Tibble <meths@btinternet.com>
parents:
0
diff
changeset
|
50 |
PYTHON=${PYTHON26} \ |
acb1a177bb6d
Remove python-24 dependency from grails
Jon Tibble <meths@btinternet.com>
parents:
0
diff
changeset
|
51 |
$(KSH93) ./install-grails ${GRAILS_VER} |
0 | 52 |
$(SRC)/tools/protofix --pkg SUNWgrails --perm |
53 |
||
54 |
include ../Makefile.targ |