Starting a Project
- Get an aegis account with CVS access.
- Create a root directory for the project with a carefully chosen name
- Download ProjectTemplate.tar.gz
- CD into the new project root directory.
- Unpack ProjectTemplate.tar.gz using:
tar -zxvf ../ProjectTemplate.tar.gz
- Edit configure.in to list:
A source code file
The name of the project
The version number of the release (usually 0.1)
- run
cvs import ProjectName loginname start
ProjectName is the name of the project
loginname is your dudels login
- run
cd ..
- run
rm -rf ProjectName
- Perform all of the steps for a "Continuing Project" below
Continuing a Project
- run
cvs checkout Project
- cd into the project root
- run
aclocal
- run
automake -a
- run
autoconf
- run
./configure
- run
make
Adding a source code directory
- cd into the src subdirectory of the project root
mkdir dirname
cvs add dirname
cd dirname
cp ../.cvsignore .
- download Makefile.am into the new direcotry.
- edit src/Makefile.am and list the new direcotry on the
SUBDIRS = line.
- edit configure.in and add
src/dirname/Makefile to the AC_OUTPUT section.
- Test your mod by running steps 2-7 of continuing a project
- Add and commit all of your changes.
Adding a source code file
- cd into the appropriate directory
- download header.h or code.C and rename appropriately.
- add the file names to the Makefile.am file.
- once you have rebuilt and tested your changes, commit them to cvs using add and commit.
Karlis Kaugars
Last modified: Tue Aug 24 18:34:00 EDT 2004