source: gs2-extensions/gnome-lib/trunk/devel.bash@ 22956

Last change on this file since 22956 was 22956, checked in by sjm84, 14 years ago

Adding a devel.bash file for the gnome-lib extension so that it is easy to setup the necessary environment variables to compile Greenstone with the assistance of this extension

File size: 669 bytes
RevLine 
[22956]1#!/bin/bash
2
3if [ "x$GEXTGNOME" = "x" ] ; then
4 source setup.bash
5fi
6
7if [ "x$GEXTGNOME_DEVEL" = "x" ] ; then
8 # Set environment variable so we can tell devel.bash has been sourced
9 export GEXTGNOME_DEVEL=$GEXTGNOME
10
11 export PATH="$GEXTGNOME_INSTALLED/bin:$PATH"
12 export CFLAGS="-I$GEXTGNOME_INSTALLED/include $CFLAGS"
13 export CPPFLAGS="-I$GEXTGNOME_INSTALLED/include $CPPFLAGS"
14 export CXXFLAGS="-I$GEXTGNOME_INSTALLED/include $CXXFLAGS"
15 export LDFLAGS="-L$GEXTGNOME_INSTALLED/lib $LDFLAGS"
16
17 echo "+Your environment is now setup to compile with the Gnome Support Library"
18else
19 echo "+Your environment is already setup to compile with the Gnome Support Library"
20fi
Note: See TracBrowser for help on using the repository browser.