From 6bf20c78f5b69d40bcc4931df93d29198435ab67 Mon Sep 17 00:00:00 2001 From: zakk Date: Fri, 26 Aug 2005 17:39:27 +0000 Subject: newlines fixed git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/unix/Conscript-setup | 66 +++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'code/unix/Conscript-setup') diff --git a/code/unix/Conscript-setup b/code/unix/Conscript-setup index ef70703..513d951 100755 --- a/code/unix/Conscript-setup +++ b/code/unix/Conscript-setup @@ -1,33 +1,33 @@ -# setup - -Import qw( INSTALL_BASEDIR ); - -$env = new cons( - # add this path so setup script finds brandelf - ENV => { PATH => $ENV{PATH} . ":" . $ENV{HOME} . "./usr/bin", }, -); - -sub launch { - # need to get the correct version (i.e. from SP source) - $version = `cat game/q_shared.h | grep Q3_VERSION`; - chomp $version; - $version =~ s/.*Q3\ (.*)\"/$1/; - print("version: $version\n"); - system("cd unix ; ./build_setup.sh $version"); - - return 1; -} - -# no dependency to PB, we get it directly from the tree and not in install/ -Depends $env "$INSTALL_BASEDIR/foo", - "$INSTALL_BASEDIR/linuxq3ded", - "$INSTALL_BASEDIR/linuxquake3-smp", - "$INSTALL_BASEDIR/linuxquake3"; - # during developement phase, we generate and copy the pk3 on the fly - # then those should move to the media tree -# those have been finalized and moved to the media tree -# "$INSTALL_BASEDIR/baseq3/pak8.pk3", -# "$INSTALL_BASEDIR/missionpack/pak3.pk3"; - - -Command $env "$INSTALL_BASEDIR/foo", "[perl] &launch()"; +# setup + +Import qw( INSTALL_BASEDIR ); + +$env = new cons( + # add this path so setup script finds brandelf + ENV => { PATH => $ENV{PATH} . ":" . $ENV{HOME} . "./usr/bin", }, +); + +sub launch { + # need to get the correct version (i.e. from SP source) + $version = `cat game/q_shared.h | grep Q3_VERSION`; + chomp $version; + $version =~ s/.*Q3\ (.*)\"/$1/; + print("version: $version\n"); + system("cd unix ; ./build_setup.sh $version"); + + return 1; +} + +# no dependency to PB, we get it directly from the tree and not in install/ +Depends $env "$INSTALL_BASEDIR/foo", + "$INSTALL_BASEDIR/linuxq3ded", + "$INSTALL_BASEDIR/linuxquake3-smp", + "$INSTALL_BASEDIR/linuxquake3"; + # during developement phase, we generate and copy the pk3 on the fly + # then those should move to the media tree +# those have been finalized and moved to the media tree +# "$INSTALL_BASEDIR/baseq3/pak8.pk3", +# "$INSTALL_BASEDIR/missionpack/pak3.pk3"; + + +Command $env "$INSTALL_BASEDIR/foo", "[perl] &launch()"; -- cgit v1.2.3