aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authormertz2003-09-15 15:22:23 +0000
committermertz2003-09-15 15:22:23 +0000
commit5e7fb971cdd595b69005d7f11eaabf2dde723139 (patch)
treeace13487e7f3e572526ffbb15b9bb30a3a19af3f /Makefile.in
parent259c9cd014d20ce604b1d80687d8349ba32ae746 (diff)
downloadtkzinc-5e7fb971cdd595b69005d7f11eaabf2dde723139.zip
tkzinc-5e7fb971cdd595b69005d7f11eaabf2dde723139.tar.gz
tkzinc-5e7fb971cdd595b69005d7f11eaabf2dde723139.tar.bz2
tkzinc-5e7fb971cdd595b69005d7f11eaabf2dde723139.tar.xz
corrections so that the usual cpan installation commands are now working
for perl. Makefile.in should be also ok for tcl
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
+