Last change
on this file since 27929 was 27929, checked in by davidb, 11 years ago |
Further files used to compile up source cdoe
|
-
Property svn:executable
set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=echoprint-codegen
|
---|
4 | version=-release-4.12
|
---|
5 |
|
---|
6 | progname=$0
|
---|
7 |
|
---|
8 | source ../cascade-make/lib/cascade-lib.bash GEXT_ECHOPRINT ../.. $*
|
---|
9 |
|
---|
10 | prefix=$GEXTECHOPRINT_INSTALLED
|
---|
11 |
|
---|
12 |
|
---|
13 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
14 |
|
---|
15 | #opt_run_configure $force_config $auto_config $package $version $prefix
|
---|
16 |
|
---|
17 | store_version=$version
|
---|
18 | version=$version/src
|
---|
19 |
|
---|
20 | if [ $compile = "1" ] ; then
|
---|
21 | if [ ! -f "$package$version/Makefile.dynamic" ] ; then
|
---|
22 | echo "Replacing default Makefile with one that explicitly compiles dynamically"
|
---|
23 | /bin/mv "$package$version/Makefile" "$package$version/Makefile.dynamic"
|
---|
24 | /bin/cp Makefile.static "$package$version/Makefile"
|
---|
25 | fi
|
---|
26 | fi
|
---|
27 |
|
---|
28 | opt_run_make $compile $package $version
|
---|
29 |
|
---|
30 | #opt_run_make $install $package $version "install"
|
---|
31 | if [ $install = "1" ] ; then
|
---|
32 | echo "***"
|
---|
33 | echo "* Installing echprint-codegen to $GEXTECHOPRINT_INSTALLED/bin"
|
---|
34 | echo "***"
|
---|
35 | cd $package$store_version;
|
---|
36 | /bin/cp echoprint-codegen $GEXTECHOPRINT_INSTALLED/bin
|
---|
37 | chmod a+x $GEXTECHOPRINT_INSTALLED/bin/echoprint-codegen
|
---|
38 | cd ..;
|
---|
39 | fi
|
---|
40 |
|
---|
41 | opt_run_make $clean $package $version "clean"
|
---|
42 |
|
---|
43 |
|
---|
44 | #opt_run_make $distclean $package $version "distclean"
|
---|
45 |
|
---|
46 | version=$store_version
|
---|
47 | opt_run_tarclean $tarclean $package $version
|
---|
48 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.