From f81c69829decb9b15b2a11253260eba7d670b1c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Wed, 21 Jan 2009 13:53:33 +0000 Subject: [PATCH] --stage option, passing it to etics invocation --- org.glite.lb/configure | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/org.glite.lb/configure b/org.glite.lb/configure index 34963e4..90b22ef 100755 --- a/org.glite.lb/configure +++ b/org.glite.lb/configure @@ -11,6 +11,7 @@ use Getopt::Long; my $pwd = `pwd`; chomp $pwd; my $prefix = $pwd.'/stage'; +my $stagedir; my $staged; my $module; my $thrflavour = 'gcc64dbgpthr'; @@ -71,6 +72,7 @@ my @opts = ( 'listmodules=s' => \$listmodules, 'version=s' => \$version, 'output=s' => \$output, + 'stage=s' => \$stagedir, 'help' => \$help, ); @@ -124,6 +126,8 @@ if (!$en && !$dis) { $enable_nodes{$_} = 1 for (@nodes) } ; for (keys %enable_nodes) { delete $enable_nodes{$_} unless $enable_nodes{$_}; } +$stagedir = $prefix unless $stagedir; + if ($mode eq 'build') { print "Writing config.status\n"; open CONF,">config.status" or die "config.status: $!\n"; @@ -379,7 +383,7 @@ jp.common/; print MKINC qq{ PREFIX = $prefix -stagedir = $prefix +stagedir = $stagedir thrflavour = $thrflavour nothrflavour = $nothrflavour }; @@ -500,7 +504,7 @@ init = None install = make install clean = make clean test = make check -configure = cd $confdir && \${moduleName}/configure --prefix=\${prefix} --module $subsys.$module @copts +configure = cd $confdir && \${moduleName}/configure --prefix=\${prefix} --stage=\${stageDir} --module $subsys.$module @copts checkstyle = None [Platform-default:Property] -- 1.8.2.3