source: softGlue_examples/publish.sh @ 951

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
6export PROJECT="softGlue_examples"
7export SOURCE_DIR="build"
8export TARGET_DIR="/home/joule/SVN/subversion/bcdaext/"
9export MAKE_TARGET="html"
10#export PATH="/APSshare/epd/rh5-x86/bin:$PATH"
11
12echo "Updating from subversion repository"
13svn update
14
15echo "rebuilding the documentation"
16make clean
17make $MAKE_TARGET
18
19cd $SOURCE_DIR
20echo "Removing the old build, if it exists"
21/bin/rm -rf $PROJECT
22
23echo "Copying the rebuilt web site"
24mv html $PROJECT
25tar cf /tmp/ball.tar $PROJECT
26cd $TARGET_DIR
27tar xf /tmp/ball.tar
28echo "Done publishing $PROJECT"
Note: See TracBrowser for help on using the repository browser.