source: trunk/gsdl3/gs3-configure.sh@ 6913

Last change on this file since 6913 was 6913, checked in by kjdon, 20 years ago

now these scripts need to be run from gsdl3 home dir, and source setup.sh will be run if gsdl3home not defined

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 545 bytes
Line 
1#!/bin/sh
2
3echo "This script should be replaced by a top level configure!!"
4
5if [ ! -f gs3-setup.sh ]; then
6 echo "You must run this script from within the Greenstone home directory"
7 exit 1
8fi
9
10#check that GSDL3HOME is set
11if test -z "$GSDL3HOME" ; then
12 source gs3-setup.sh
13 exit;
14fi
15
16echo ""
17echo "configuring mgpp"
18echo ""
19cd packages/mgpp
20./configure --prefix $GSDL3HOME
21echo ""
22echo "configuring mg"
23echo ""
24cd ../mg
25./configure --prefix $GSDL3HOME
26cd $GSDL3HOME
27
28# now do building stuff
29autoconf
30./configure --prefix $GSDL3HOME
31
32
Note: See TracBrowser for help on using the repository browser.