Last change
on this file since 27198 was 27198, checked in by ak19, 11 years ago |
If a source code version of imagemagick exists in the gs2build ext folder, gnomelib's CASCADE-MAKE compilation script will source that imagemagick folder's devel.bash first before proceeding with compilation. This was thought to be necessary after gnomelib was changed to require imagemagick to exist on the unix/mac machine when compiling. While imagemagick often exists, it doesn't always (e.g. on a Mac). In such cases, greenstone compilation can be made to succeed by providing an imagemagick src version. The imagemagick src folder in ext gets compiled up before gnome-lib by build.xml (the changes for which will be committed next).
|
-
Property svn:executable
set to
*
|
File size:
623 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | # if there's an imagemagick src folder in ext, then source its devel.bash first
|
---|
4 | # (imagemagick would have been compiled up before gnome-lib by build.xml)
|
---|
5 | if [ -e "../imagemagick/devel.bash" ]; then
|
---|
6 | pushd "../imagemagick";
|
---|
7 | source devel.bash;
|
---|
8 | popd
|
---|
9 | else
|
---|
10 | echo "no imagemagick source extension";
|
---|
11 | fi
|
---|
12 |
|
---|
13 | source devel.bash
|
---|
14 |
|
---|
15 | for d in packages ; do
|
---|
16 | echo "Running $d/CASCADE-MAKE.sh"
|
---|
17 |
|
---|
18 | (cd $d ; ./CASCADE-MAKE.sh $*)
|
---|
19 |
|
---|
20 | if [ $? != 0 ] ; then
|
---|
21 | echo "Error encountered running $d/CASCADE-MAKE.sh"
|
---|
22 | exit 1
|
---|
23 | fi
|
---|
24 | done
|
---|
25 |
|
---|
26 | if [ $makedist = "1" ] ; then
|
---|
27 | default_toplevel_make_dist $GSDLOS devel.bash
|
---|
28 | fi |
---|
Note:
See
TracBrowser
for help on using the repository browser.