|
From: Alan W. I. <ai...@us...> - 2008-09-23 17:44:14
|
Revision: 8780
http://plplot.svn.sourceforge.net/plplot/?rev=8780&view=rev
Author: airwin
Date: 2008-09-19 18:50:42 +0000 (Fri, 19 Sep 2008)
Log Message:
-----------
Enable Ada for build so that generated Ada examples will be available for
website.
Fix bugs in f77 and ada directory specifications for generated examples.
The above changes should make both f77 and Ada source code available for the
first time for the 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-19 18:45:28 UTC (rev 8779)
+++ trunk/scripts/htdocs-gen_plot-examples.sh 2008-09-19 18:50:42 UTC (rev 8780)
@@ -35,13 +35,13 @@
rm -rf htdocsgen/build_dir htdocsgen/install
mkdir -p htdocsgen/build_dir htdocsgen/install
cd htdocsgen/build_dir
- # Specifically enable f77 so that examples will be generated.
+ # Specifically enable f77 and Ada so that examples will be generated.
cmake -DCMAKE_INSTALL_PREFIX=`pwd`/../install \
- -DDEFAULT_NO_BINDINGS=ON -DENABLE_f77=ON \
+ -DDEFAULT_NO_BINDINGS=ON -DENABLE_f77=ON -DENABLE_ada=ON\
-DDEFAULT_NO_DEVICES=ON -DPLD_pngcairo=ON \
../../
- make
- make install
+ make -j3
+ make -j3 install
cd ../..
fi
@@ -91,9 +91,9 @@
for f in examples/c/x${exe}c.c \
examples/tcl/x${exe}.tcl \
examples/java/x${exe}.java \
- cexamples_dir/../f77/x${exe}f.f \
+ $cexamples_dir/../f77/x${exe}f.f \
examples/f95/x${exe}f.f90 \
- examples/ada/x${exe}a.adb \
+ $cexamples_dir/../ada/x${exe}a.adb \
bindings/octave/demos/x${exe}c.m \
examples/python/xw${exe}.py \
examples/c++/x${exe}.cc \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|