From 5e7fb971cdd595b69005d7f11eaabf2dde723139 Mon Sep 17 00:00:00 2001 From: mertz Date: Mon, 15 Sep 2003 15:22:23 +0000 Subject: corrections so that the usual cpan installation commands are now working for perl. Makefile.in should be also ok for tcl --- Makefile.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile.in') 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 + -- cgit v1.1