Last change
on this file since 1395 was
1395,
checked in by jemian, 10 years ago
|
fixes #49: add Python project components
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision URL
|
File size:
631 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | # $Id: publish.sh 1395 2013-07-05 20:29:57Z jemian $ |
---|
3 | |
---|
4 | # Use this script to (re)publish the documentation |
---|
5 | |
---|
6 | export PROJECT="BcdaQWidgets" |
---|
7 | export SOURCE_DIR="build" |
---|
8 | export TARGET_DIR="/home/joule/SVN/subversion/bcdaext/ " |
---|
9 | export MAKE_TARGET="all" |
---|
10 | export MAKE_DIR="docs" |
---|
11 | export PATH=/APSshare/epd/rh6-x86/bin/:$PATH |
---|
12 | |
---|
13 | echo "Updating from subversion repository" |
---|
14 | svn update |
---|
15 | |
---|
16 | cd $MAKE_DIR |
---|
17 | |
---|
18 | echo "rebuilding the documentation" |
---|
19 | make clean |
---|
20 | make $MAKE_TARGET |
---|
21 | |
---|
22 | cd $SOURCE_DIR |
---|
23 | echo "Removing the old build, if it exists" |
---|
24 | /bin/rm -rf $PROJECT |
---|
25 | |
---|
26 | echo "Copying the rebuilt web site" |
---|
27 | mv html $PROJECT |
---|
28 | tar cf - $PROJECT | ( cd $TARGET_DIR && tar xf - ) |
---|
29 | echo "Done publishing $PROJECT" |
---|
Note: See
TracBrowser
for help on using the repository browser.