aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in23
1 files changed, 13 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in
index 7ce6433..f71824c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -245,6 +245,8 @@ install: all perlinstall
install-binaries: binaries install-lib-binaries install-bin-binaries
+install-tcl: install-binaries install-libraries install-demos install-doc
+
#========================================================================
# This rule installs platform-independent files, such as header files.
#========================================================================
@@ -534,25 +536,26 @@ uninstall-binaries:
# Targets for perl/Tk
#--------------------------------------
-perl: binaries
+Perl/Makefile:
+ cd Perl; perl Makefile.PL;
+
+perl: Perl/Makefile binaries
@if test "x$(PERL_TK_LIB)" != "x"; then \
- cd Perl; perl Makefile.PL; make; \
- cd demos; perl Makefile.PL; make; \
+ cd Perl; make; \
fi
-testperl: binaries
+testperl: Perl/Makefile binaries
@if test "x$(PERL_TK_LIB)" != "x"; then \
- cd Perl; perl Makefile.PL; make test; \
+ cd Perl; make test; \
fi
-demoperl: binaries
- (cd Perl; perl Makefile.PL; make; \
- perl -Mblib demos/zinc-demos)
+demoperl: Perl/Makefile binaries
+ cd Perl; perl -Mblib demos/zinc-demos
-perlinstall: binaries
+perlinstall: Perl/Makefile binaries
@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 Perl; make install; \
fi