source: gs2-extensions/echoprint/trunk/src/src/CASCADE-MAKE/ECHOPRINT-CLIENT.sh@ 28864

Last change on this file since 28864 was 28864, checked in by ak19, 10 years ago

Minor change to get it compiling without bash syntax errors.

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1#!/bin/bash
2
3package=echoprint-codegen
4version=-release-4.12
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXT_ECHOPRINT ../.. $*
9
10prefix=$GEXTECHOPRINT_INSTALLED
11
12
13opt_run_untar $force_untar $auto_untar $package $version
14
15#opt_run_configure $force_config $auto_config $package $version $prefix
16
17store_version=$version
18version=$version/src
19
20#if [ $compile = "1" ] ; then
21
22# The following code was commited in SVN, but there doesn't appear to be
23# a Makefile.static file in the untarred file. The provided Makefile
24# compiled OK with Cygwin, so commenting out for now. If problems
25# are encountered further down the line, then this code might become
26# useful again
27
28# if [ ! -f "$package$version/Makefile.dynamic" ] ; then
29# echo "Replacing default Makefile with one that explicitly compiles dynamically"
30# /bin/mv "$package$version/Makefile" "$package$version/Makefile.dynamic"
31# /bin/cp Makefile.static "$package$version/Makefile"
32# fi
33
34#fi
35
36opt_run_make $compile $package $version
37
38#opt_run_make $install $package $version "install"
39if [ $install = "1" ] ; then
40 echo "***"
41 echo "* Installing echprint-codegen to $GEXTECHOPRINT_INSTALLED/bin"
42 echo "***"
43 cd $package$store_version;
44 /bin/cp echoprint-codegen $GEXTECHOPRINT_INSTALLED/bin
45 chmod a+x $GEXTECHOPRINT_INSTALLED/bin/echoprint-codegen
46 cd ..;
47fi
48
49opt_run_make $clean $package $version "clean"
50
51
52#opt_run_make $distclean $package $version "distclean"
53
54version=$store_version
55opt_run_tarclean $tarclean $package $version
56
Note: See TracBrowser for help on using the repository browser.