aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 2dee2ba..9ce8b89 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -308,7 +308,9 @@ install-doc: doc
done
test: binaries libraries testperl
- $(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) \
+ @if test "x$(PERL_TK_LIB)" = "x"; then \
+ $(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) ; \
+ fi
shell: binaries libraries
@$(TCLSH) $(SCRIPT)
@@ -549,9 +551,9 @@ demoperl: binaries
perl -Mblib demos/zinc-demos)
perlinstall: binaries
- @echo "ZINC_ENABLE_PTK --> $(ZINC_ENABLE_PTK) $(INSTALL_PROGRAM) $(PERL_TK_LIB)"
+ @echo "ZINC_ENABLE_PTK --> $(ZINC_ENABLE_PTK) $(INSTALL_PROGRAM) $(PERL_TK_LIB) DESTDIR=$(DESTDIR)"
@if test "x$(PERL_TK_LIB)" != "x"; then \
+ $(INSTALL_DATA) $($(PACKAGE)_LIB_FILE) $(prefix)/lib; \
cd Perl; perl Makefile.PL; make; make install; \
- cd demos; perl Makefile.PL; make; make install; \
- cd ../debug; perl Makefile.PL; make; make install; \
fi
+