rewrite home page redirect
[dh-make-perl] / dev / arm / libextutils-parsexs-perl / libextutils-parsexs-perl-2.19 / Build
1 #! /targets/FREMANTLE_X86/usr/bin/perl
2
3 use strict;
4 use Cwd;
5 use File::Spec;
6
7 BEGIN {
8   $^W = 1;  # Use warnings
9   my $curdir = File::Spec->canonpath( Cwd::cwd() );
10   my $is_same_dir = $^O eq 'MSWin32' ? (Win32::GetShortPathName($curdir) eq '/home/maemo/workspace/git/dh-make-perl/dev/i386/libextutils-parsexs-perl/libextutils-parsexs-perl-2.19')
11                                        : ($curdir eq '/home/maemo/workspace/git/dh-make-perl/dev/i386/libextutils-parsexs-perl/libextutils-parsexs-perl-2.19');
12   unless ($is_same_dir) {
13     die ('This script must be run from /home/maemo/workspace/git/dh-make-perl/dev/i386/libextutils-parsexs-perl/libextutils-parsexs-perl-2.19, not '.$curdir."\n".
14          "Please re-run the Build.PL script here.\n");
15   }
16   @INC = 
17     (
18      '/etc/perl',
19      '/usr/local/lib/perl/5.8.3',
20      '/usr/local/share/perl/5.8.3',
21      '/usr/lib/perl5',
22      '/usr/share/perl5',
23      '/usr/lib/perl/5.8',
24      '/usr/share/perl/5.8',
25      '/usr/local/lib/site_perl',
26      '/home/maemo/workspace/git/dh-make-perl/dev/i386/libextutils-parsexs-perl/libextutils-parsexs-perl-2.19'
27     );
28 }
29
30 use Module::Build;
31
32 if (-e 'Build.PL' and not Module::Build->up_to_date("Build.PL", $0)) {
33    warn "Warning: Build.PL has been altered.  You may need to run 'perl Build.PL' again.\n";
34 }
35
36 # This should have just enough arguments to be able to bootstrap the rest.
37 my $build = Module::Build->resume (
38   properties => {
39     config_dir => '/home/maemo/workspace/git/dh-make-perl/dev/i386/libextutils-parsexs-perl/libextutils-parsexs-perl-2.19/_build',
40   },
41 );
42
43 $build->dispatch;