source: trunk/examples/demo.bash.in @ 3471

Last change on this file since 3471 was 3471, checked in by ldelgass, 11 years ago

Makefile fixes: make 'install' target always depend on 'all' target. This
ensures that an up to date build exists before installing, and also permits
the use of "make install" in place of "make all install" or "make all; make install". It doesn't affect the existing build scripts. Likewise, make 'distclean'
always depend on 'clean'. Remove empty contour objects example, as there is no
corresponding object class. Also declare all the standard targets 'all, install,
etc' in the .PHONY section for performance.

  • Property svn:executable set to *
File size: 1.7 KB
Line 
1#!/bin/bash
2#
3# use this script to run several rappture examples:
4#
5#       ./demo.bash
6#               
7#        ./demo.bash all
8#
9# when you exit from one example, the next one will start and display on your
10# screen.
11#
12
13ZOO="\
14        ./zoo/binary
15        ./zoo/boolean
16        ./zoo/choice
17        ./zoo/cloud/matlab
18        ./zoo/cloud
19        ./zoo/curve
20        ./zoo/drawing
21        ./zoo/enable
22        ./zoo/field
23        ./zoo/group
24        ./zoo/histogram
25        ./zoo/image
26        ./zoo/integer
27        ./zoo/integer2
28        ./zoo/loader
29        ./zoo/log
30        ./zoo/mesh
31        ./zoo/note
32        ./zoo/number
33        ./zoo/number2
34        ./zoo/parallelepiped
35        ./zoo/periodicelement
36        ./zoo/phase
37        ./zoo/sequence
38        ./zoo/string
39        ./zoo/structure
40        ./zoo/table
41        ./zoo/unirect2d
42"
43
44FLOW=" \
45        ./flow/demo1
46        ./flow/demo2
47        ./flow/demo3
48        ./flow
49"
50FERMI=" \
51        ./app-fermi/cee
52        ./app-fermi/fortran
53        ./app-fermi/tcl
54        ./app-fermi/perl
55        ./app-fermi/python
56        ./app-fermi/ruby
57        ./app-fermi/java
58        ./app-fermi/R
59        ./app-fermi/matlab/uncompiled
60        ./app-fermi/matlab/compiled
61        ./app-fermi/octave/octave2
62        ./app-fermi/octave/octave3
63        ./app-fermi/wrapper/cee
64        ./app-fermi/wrapper/tcl
65        ./app-fermi/wrapper/perl
66        ./app-fermi/wrapper/python
67"
68
69MISC=" \
70  ./lang/tcl/putfile \
71  ./lang/tcl/loadercopy \
72  ./graph \
73  ./c-example \
74  ./canvas \
75  ./objects/xmlparser \
76"
77
78ALL="$FERMI $ZOO $FLOW $MISC"
79
80STD="\
81  app-fermi/tcl  \
82  app-fermi/python  \
83  app-fermi/fortran  \
84  c-example  \
85  graph  \
86  zoo/structure  \
87  zoo/image  \
88  zoo/cloud \
89"
90dirs=$STD
91
92if test "$1" = "all" ; then
93  dirs=$ALL
94elif test "$1" = "fermi" ; then
95  dirs=$FERMI
96elif test "$1" = "flow" ; then
97  dirs=$FLOW
98elif test "$1" = "misc" ; then
99  dirs=$MISC
100elif test "$1" = "zoo" ; then
101  dirs=$ZOO
102fi
103
104for d in $dirs ; do
105    echo $d
106    (cd $d ; rappture)
107done
108
109(cd 3D; rerun 3d_test_run.xml)
Note: See TracBrowser for help on using the repository browser.