Last change
on this file since 187 was
187,
checked in by tim, 15 years ago
|
early versions of SConstruct build scripts
|
File size:
492 bytes
|
Rev | Line | |
---|
[187] | 1 | build_cmds=''' |
---|
| 2 | rm -rf .release; |
---|
| 3 | mkdir -p `dirname .release/$SOURCE`; |
---|
| 4 | svn export svn+ssh://sentinelchicken.org/home/projects/subversion/reglookup/$SOURCE .release/$SOURCE; |
---|
| 5 | #XXX: Can this be less of a hack? |
---|
| 6 | cd .release/$SOURCE && scons doc && cd ..; |
---|
| 7 | cd .release && tar cf $SOURCE.tar $SOURCE && gzip -9 $SOURCE.tar; |
---|
| 8 | mv .release/$SOURCE.tar.gz .. |
---|
| 9 | ''' |
---|
| 10 | release_builder = Builder(action=build_cmds) |
---|
| 11 | env['BUILDERS']['Release'] = man_builder |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | env = Environment() |
---|
| 15 | env.Release('trunk') |
---|
| 16 | |
---|
| 17 | Default(None) |
---|
Note: See
TracBrowser
for help on using the repository browser.