mirror of
https://github.com/UberGames/ioef.git
synced 2025-06-02 10:11:28 +00:00
Itsa me, quake3io!
This commit is contained in:
parent
dbe4ddb103
commit
5b755058f5
1409 changed files with 798983 additions and 798983 deletions
66
code/unix/Conscript-setup
Normal file → Executable file
66
code/unix/Conscript-setup
Normal file → Executable file
|
@ -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()";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue