aboutsummaryrefslogtreecommitdiff
path: root/buildperl.tcl
diff options
context:
space:
mode:
authorcvs2svn2005-01-24 15:46:33 +0000
committercvs2svn2005-01-24 15:46:33 +0000
commite6a05dbef707dc10e546ef8fef8fc2a8b7d805bf (patch)
tree7061a2d781348fa7d5965b7d7dd5d7ef6b27a7b0 /buildperl.tcl
parente1ed2c6d78bb616e24166c13126adba1b95ea4ea (diff)
downloadtkzinc-e6a05dbef707dc10e546ef8fef8fc2a8b7d805bf.zip
tkzinc-e6a05dbef707dc10e546ef8fef8fc2a8b7d805bf.tar.gz
tkzinc-e6a05dbef707dc10e546ef8fef8fc2a8b7d805bf.tar.bz2
tkzinc-e6a05dbef707dc10e546ef8fef8fc2a8b7d805bf.tar.xz
This commit was manufactured by cvs2svn to create branch 'POSTSCRIPT'.POSTSCRIPT
Diffstat (limited to 'buildperl.tcl')
-rw-r--r--buildperl.tcl40
1 files changed, 0 insertions, 40 deletions
diff --git a/buildperl.tcl b/buildperl.tcl
deleted file mode 100644
index 3b01864..0000000
--- a/buildperl.tcl
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# This script is intended to be run in the top directory
-# with: tclsh84 buildperl.tcl
-#
-
-#
-# Create a perl build directory and copy the relevant
-# files in it.
-#
-set wd [pwd]
-set files {t Zinc.xs Zinc.pm Makefile.PL demos README Zinc}
-set buildDir buildperl
-
-puts "Creating temporary build structure for Tkzinc perl variant"
-
-if { [file exists $buildDir] } {
- file delete -force $buildDir
-}
-file mkdir $buildDir
-foreach f $files {
- file copy -force Perl/$f $buildDir
-}
-foreach f [glob -nocomplain libtess/*.c libtess/*.h generic/*.c generic/*.h win/*.c debian/changelog debian/copyright] {
- file copy -force $f $buildDir
-}
-
-puts "Compiling the perl variant"
-
-set make make
-if { [lindex $tcl_platform(os) 0] eq "Windows" } {
- set make nmake
-}
-
-cd buildperl
-catch {exec perl Makefile.PL} result
-puts $result
-catch {exec $make} result
-puts $result
-
-cd $wd