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