source: bcdaqwidgets/trunk/publish.sh @ 1395

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