root/gs2-extensions/echoprint/trunk/src/src/CASCADE-MAKE/ECHOPRINT-CLIENT.sh @ 28371

Revision 28371, 1.2 KB (checked in by davidb, 6 years ago)

Renaming of echoprint-codegen compile script to make CLIENT/SERVER naming scheme more consistent

  • Property svn:executable set to *
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
20if [ $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
26fi
27
28opt_run_make $compile $package $version
29
30#opt_run_make $install $package $version "install"
31if [ $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 ..;
39fi
40
41opt_run_make $clean $package $version "clean"
42
43
44#opt_run_make $distclean $package $version "distclean"
45
46version=$store_version
47opt_run_tarclean $tarclean $package $version
48
Note: See TracBrowser for help on using the browser.