diff options
author | zakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-26 04:48:05 +0000 |
---|---|---|
committer | zakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-26 04:48:05 +0000 |
commit | 952c5c128f9efaea89d41d882c4ea3ade7df4591 (patch) | |
tree | 91b84d9be7afad7e99ac64a640a65b6cb5081900 /code/unix/Conscript-setup | |
parent | c2c2e0d25d6cdb7d42d7dc981a863f65f94f281d (diff) | |
download | ioquake3-aero-952c5c128f9efaea89d41d882c4ea3ade7df4591.tar.gz ioquake3-aero-952c5c128f9efaea89d41d882c4ea3ade7df4591.zip |
Itsa me, quake3io!
git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix/Conscript-setup')
-rwxr-xr-x | code/unix/Conscript-setup | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/code/unix/Conscript-setup b/code/unix/Conscript-setup new file mode 100755 index 0000000..ef70703 --- /dev/null +++ b/code/unix/Conscript-setup @@ -0,0 +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()";
|