aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authormertz2003-09-16 11:52:01 +0000
committermertz2003-09-16 11:52:01 +0000
commitd16b3c5ac66e2c109013f72a741632bb38197b89 (patch)
treebdd5db2b3e9f3343f8a87e99fdf2cf2cad4f97c2 /Makefile.in
parentcbf14568fa15c2dcca0a428dc6107e9e64f31543 (diff)
downloadtkzinc-d16b3c5ac66e2c109013f72a741632bb38197b89.zip
tkzinc-d16b3c5ac66e2c109013f72a741632bb38197b89.tar.gz
tkzinc-d16b3c5ac66e2c109013f72a741632bb38197b89.tar.bz2
tkzinc-d16b3c5ac66e2c109013f72a741632bb38197b89.tar.xz
some simplification in Makefile.in rules for perl,
a new target for installing zinc for tcl: install-tcl
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