[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:kbulgrien
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sun Sep 2 19:28:16 CDT 2007
A page in your DokuWiki was added or changed. Here are the details:
Date : 2007/09/02 19:28
User :
Edit Summary: Improve the layout; edit the config.sh script; add instructions to backup scripts.
@@ -64,19 +64,25 @@
$ cd ~
$ mkdir -p svn/trunk
$ cd svn
- =====Create some scripts help with subversion operations=====
+ =====Create some utility scripts=====
+
+ ====Scripts to facilitate use of svn====
This example will presume the use of //trunk// sources. Feel free to deviate from these instructions to reduce the size of the workspace and the amount of data that must be downloaded. Create a shell script called **svn-co.sh** that contains the following:
+
+ ===svn-co.sh===
#!/bin/bash
#
for dir in arch client maps server sounds
do
svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/${dir}/trunk trunk/${dir}
done
echo
+
+ ===svn-up.sh===
Create another shell script called **svn-up.sh** as follows:
#!/bin/bash
@@ -94,16 +100,28 @@
cd ${CWD}
done
done
echo
+
+ ====Scripts to facilitate development====
+
+ ===config.sh===
Create yet another shell script called **config.sh** as follows:
#!/bin/bash
#
- CFLAGS=-ggdb\ -g\ -O0
+ export CFLAGS="-ggdb -g -O0"
bash autogen.sh --prefix=${HOME} ${*}
echo
+
+ ====Backup scripts on the host box====
+
+ Just to be safe, save the scripts just created outside of the virtual box to make it easier to recover them if the virtual box is rebuilt. Furthermore, they are as useful there as they are on the virtual system...
+
+ In the following example, replace **<username>** with your user account on the host system. Do not include the less-than and greater-than symbols.
+
+ $ scp *.sh <username>@10.0.2.2:/home/<username>/qemu
=====Checkout the Crossfire sources=====
Execute the **svn-co.sh** script to check out the development sources.
IP-Address : 66.137.82.229
Old Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien?rev=1188778585
New Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list