|
From: <ai...@us...> - 2008-09-20 17:12:05
|
Revision: 8785
http://plplot.svn.sourceforge.net/plplot/?rev=8785&view=rev
Author: airwin
Date: 2008-09-20 17:11:40 +0000 (Sat, 20 Sep 2008)
Log Message:
-----------
Alphabetize lists of files by source code language to help keep track of what
is included.
Add OCaml examples source code files to the source code files that will be
available on our website.
Modified Paths:
--------------
trunk/scripts/htdocs-gen_plot-examples.sh
Modified: trunk/scripts/htdocs-gen_plot-examples.sh
===================================================================
--- trunk/scripts/htdocs-gen_plot-examples.sh 2008-09-20 06:11:29 UTC (rev 8784)
+++ trunk/scripts/htdocs-gen_plot-examples.sh 2008-09-20 17:11:40 UTC (rev 8785)
@@ -87,17 +87,21 @@
rm -rf $EXDIR/demo${exe}
mkdir -p $EXDIR/demo${exe}
mv *${exe}.??.png $EXDIR/demo${exe}
- # Note fortran 77 examples grabbed from installed examples.
- for f in examples/c/x${exe}c.c \
- examples/tcl/x${exe}.tcl \
- examples/java/x${exe}.java \
+ # Note both Ada and fortran 77 examples grabbed from the installed
+ # examples.
+ for f in
+ $cexamples_dir/../ada/x${exe}a.adb \
+ examples/c/x${exe}c.c \
+ examples/c++/x${exe}.cc \
$cexamples_dir/../f77/x${exe}f.f \
examples/f95/x${exe}f.f90 \
- $cexamples_dir/../ada/x${exe}a.adb \
+ examples/java/x${exe}.java \
+ examples/ocaml/x${exe}.ml \
bindings/octave/demos/x${exe}c.m \
+ examples/perl/x${exe}.pl \
examples/python/xw${exe}.py \
- examples/c++/x${exe}.cc \
- examples/perl/x${exe}.pl ; do
+ examples/tcl/x${exe}.tcl \
+ ; do
if test -f $f ; then
cp $f $EXDIR/demo${exe}
else
@@ -109,7 +113,19 @@
# rename executables, to avoid browsers trying to execute files
# instead of showing them.
(cd $EXDIR/demo${exe};
- for j in *.c *.cc *.f *.f90 *.adb *.m *.tcl *.java *.py *.pl; do
+ for j in \
+ *.adb \
+ *.c \
+ *.cc \
+ *.f \
+ *.f90 \
+ *.java \
+ *.ml \
+ *.m \
+ *.pl \
+ *.py \
+ *.tcl \
+ ; do
mv $j $j-
done
)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|