6 |
# This script is in the public domain. |
# This script is in the public domain. |
7 |
# ----------------------------------------------------------------------------- |
# ----------------------------------------------------------------------------- |
8 |
|
|
9 |
|
# TODO: |
10 |
|
# add support for just commiting real changes, i.e. don't commit documentation |
11 |
|
# if only roadmap has changed. |
12 |
|
|
13 |
|
|
14 |
target="../software/gnue" |
target="../software/gnue" |
15 |
|
|
16 |
if [ ! -d ${target} ] |
if [ ! -d ${target} ] |
43 |
(cd doc/api && make clean) |
(cd doc/api && make clean) |
44 |
(cd doc/whitepaper && make clean) |
(cd doc/whitepaper && make clean) |
45 |
|
|
46 |
|
# ROADMAP |
47 |
|
|
48 |
|
if [ ! -d ../gnue-common ] |
49 |
|
then |
50 |
|
echo "please check out 'software/gnue' from webcvs into $(dirname $(pwd))" |
51 |
|
exit 1 |
52 |
|
fi |
53 |
|
|
54 |
|
../gnue-common/utils/generate-feature-plan.py ROADMAP.in |
55 |
|
|
56 |
|
rm -f ${target}/feature-plans/appserver.html |
57 |
|
mv ROADMAP.html ${target}/feature-plans/appserver.html |
58 |
|
|
59 |
# Commit it |
# Commit it |
60 |
|
|
61 |
cd ${target} |
cd ${target} |
62 |
cvs add tech/appserver/*.* |
cvs add tech/appserver/*.* |
63 |
cvs add tools/docs/appserver/*.* |
cvs add tools/docs/appserver/*.* |
64 |
cvs commit -m "Update documentation." tech/appserver tools/docs/appserver |
cvs commit -m "Update roadmaps and documentation." tech/appserver tools/docs/appserver feature-plans/appserver.html |