Last change
on this file since 951 was
947,
checked in by jemian, 11 years ago
|
add publishing tool, shorten path to published docs
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Id
|
File size:
616 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | # $Id: publish.sh 947 2012-06-19 22:00:38Z mooney $ |
---|
3 | |
---|
4 | # Use this script to (re)publish the documentation |
---|
5 | |
---|
6 | export PROJECT="softGlue_examples" |
---|
7 | export SOURCE_DIR="build" |
---|
8 | export TARGET_DIR="/home/joule/SVN/subversion/bcdaext/" |
---|
9 | export MAKE_TARGET="html" |
---|
10 | #export PATH="/APSshare/epd/rh5-x86/bin:$PATH" |
---|
11 | |
---|
12 | echo "Updating from subversion repository" |
---|
13 | svn update |
---|
14 | |
---|
15 | echo "rebuilding the documentation" |
---|
16 | make clean |
---|
17 | make $MAKE_TARGET |
---|
18 | |
---|
19 | cd $SOURCE_DIR |
---|
20 | echo "Removing the old build, if it exists" |
---|
21 | /bin/rm -rf $PROJECT |
---|
22 | |
---|
23 | echo "Copying the rebuilt web site" |
---|
24 | mv html $PROJECT |
---|
25 | tar cf /tmp/ball.tar $PROJECT |
---|
26 | cd $TARGET_DIR |
---|
27 | tar xf /tmp/ball.tar |
---|
28 | echo "Done publishing $PROJECT" |
---|
Note: See
TracBrowser
for help on using the repository browser.