Last change
on this file since 25812 was 25812, checked in by jmt12, 12 years ago |
Adding conditional blocks so that packages are only rebuilt if they missing from the install directory
|
-
Property svn:executable
set to
*
|
File size:
765 bytes
|
Rev | Line | |
---|
[24591] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | package=tinyxml-gs
|
---|
| 4 | version=-2.6.2
|
---|
| 5 |
|
---|
| 6 | progname=$0
|
---|
| 7 |
|
---|
| 8 | source ../cascade-make/lib/cascade-lib.bash GEXTPARALLELBUILDING ../.. $*
|
---|
| 9 |
|
---|
| 10 | prefix=$GEXTPARALLELBUILDING_INSTALLED
|
---|
| 11 |
|
---|
[24837] | 12 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
| 13 | opt_run_configure $force_config $auto_config $package $version $prefix
|
---|
| 14 |
|
---|
| 15 | # Only compile if necessary - we don't edit these source files.
|
---|
[24591] | 16 | if [ ! -e "$GEXTPARALLELBUILDING_INSTALLED/lib/libtinyxml.a" ]
|
---|
[25812] | 17 | then
|
---|
| 18 | opt_run_make $compile $package $version
|
---|
| 19 | opt_run_make $install $package $version "install"
|
---|
| 20 | else
|
---|
| 21 | echo "TinyXML library already compiled => no need to recompile"
|
---|
[24591] | 22 | fi
|
---|
| 23 |
|
---|
[24837] | 24 | opt_run_make $clean $package $version "clean"
|
---|
| 25 | opt_run_make $distclean $package $version "distclean"
|
---|
[24591] | 26 |
|
---|
[24837] | 27 | opt_run_tarclean $tarclean $package $version
|
---|
[24591] | 28 |
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 |
|
---|
[24837] | 32 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.