source: specdomain/trunk/src/specdomain/publish.sh @ 1082

Last change on this file since 1082 was 1082, checked in by jemian, 10 years ago

get the right Python when publishing at APS

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 644 bytes
Line 
1#!/bin/bash
2# $Id: publish.sh 1082 2012-08-15 17:01:37Z jemian $
3
4# Use this script to (re)publish the documentation
5
6export PROJECT="specdomain"
7export MAKE_DIR="doc"
8export SOURCE_DIR="_build"
9export TARGET_DIR="/home/joule/SVN/subversion/bcdaext/"
10export MAKE_TARGET="html"
11export PATH="/APSshare/epd/rh5-x86/bin:$PATH"
12
13echo "Updating from subversion repository"
14svn update
15
16cd $MAKE_DIR
17echo "rebuilding the documentation"
18make clean
19make $MAKE_TARGET
20
21cd $SOURCE_DIR
22echo "Removing the old build, if it exists"
23/bin/rm -rf $PROJECT
24
25echo "Copying the rebuilt web site"
26mv html $PROJECT
27tar cf /tmp/ball.tar $PROJECT
28cd $TARGET_DIR
29tar xf /tmp/ball.tar
30echo "Done publishing $PROJECT"
Note: See TracBrowser for help on using the repository browser.