From d4b09083630aa911e435df3f3034896c4670923d Mon Sep 17 00:00:00 2001 From: lecoanet Date: Tue, 12 Apr 2005 09:12:10 +0000 Subject: Merged into win/package.tcl --- buildperl.tcl | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 buildperl.tcl (limited to 'buildperl.tcl') 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 -- cgit v1.1