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
|
Rev | Line | |
---|
[22956] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | if [ "x$GEXTGNOME" = "x" ] ; then
|
---|
| 4 | source setup.bash
|
---|
| 5 | fi
|
---|
| 6 |
|
---|
| 7 | if [ "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"
|
---|
| 18 | else
|
---|
| 19 | echo "+Your environment is already setup to compile with the Gnome Support Library"
|
---|
| 20 | fi |
---|
Note:
See
TracBrowser
for help on using the repository browser.