source: gs2-extensions/gnome-lib/trunk/src/CASCADE-MAKE.sh@ 27198

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
RevLine 
[22811]1#!/bin/bash
2
[27198]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)
5if [ -e "../imagemagick/devel.bash" ]; then
6 pushd "../imagemagick";
7 source devel.bash;
8 popd
9else
10 echo "no imagemagick source extension";
11fi
12
[23076]13source devel.bash
[22816]14
[22811]15for 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
[23096]24done
25
26if [ $makedist = "1" ] ; then
[23103]27 default_toplevel_make_dist $GSDLOS devel.bash
[23096]28fi
Note: See TracBrowser for help on using the repository browser.