root/perl/Install.PL

Revision 267, 0.7 kB (checked in by cholt, 2 months ago)

small changes to make maker2chado fail when no chado

Line 
1 #! /usr/bin/perl -w
2
3 use strict;
4 use FindBin;
5
6 chdir ("$FindBin::Bin/threads-1.71");
7 system("perl Makefile.PL");
8 system("make install");
9 system("make clean");
10 chdir("$FindBin::Bin");
11 unlink("threads-1.71/Makefile.old") if(-e "threads-1.71/Makefile.old");
12
13 chdir "$FindBin::Bin/DBI-1.607";
14 system("perl Makefile.PL");
15 system("make install");
16 system("make clean");
17 chdir("$FindBin::Bin");
18 unlink("DBI-1.607/Makefile.old") if (-e "DBI-1.607/Makefile.old");
19
20 chdir ("$FindBin::Bin/DBD-SQLite-0.31");
21 system("perl Makefile.PL");
22 system("make install");
23 system("make clean");
24 chdir("$FindBin::Bin");
25 unlink("DBD-SQLite-0.31/Makefile.old") if (-e "DBD-SQLite-0.31/Makefile.old");
Note: See TracBrowser for help on using the browser.