source: pvMail/doc/publish.sh @ 946

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