Update of /cvsroot/plplot/plplot/examples/perl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5497/examples/perl
Modified Files:
Makefile.am
Log Message:
Only install perl examples if PDL is enabled.
Index: Makefile.am
===================================================================
RCS file: /cvsroot/plplot/plplot/examples/perl/Makefile.am,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- Makefile.am 27 Apr 2005 06:43:56 -0000 1.19
+++ Makefile.am 26 Apr 2006 14:35:06 -0000 1.20
@@ -19,9 +19,7 @@
# along with the file PLplot; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-examples_perldir = $(DATA_DIR)/examples/perl
-
-examples_perl_SCRIPTS = \
+perl_scripts = \
x01.pl \
x02.pl \
x03.pl \
@@ -47,9 +45,19 @@
x23.pl \
x24.pl
-examples_perl_DATA = \
+perl_data = \
README.perldemos
+if enable_pdl
+
+examples_perldir = $(DATA_DIR)/examples/perl
+
+examples_perl_SCRIPTS = $(perl_scripts)
+
+examples_perl_DATA = $(perl_data)
+
+endif
+
EXTRA_DIST = \
- $(examples_perl_SCRIPTS) \
- $(examples_perl_DATA)
+ $(perl_scripts) \
+ $(perl_data)
|