Debian Codegraph @

attic/Xtal/Makefile.PL

raw
1 #! /usr/bin/perl -w
2 use ExtUtils::MakeMaker;
3 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
4 # the contents of the Makefile that is written.
5
6
7 ## If this is being installed with Atoms of with Ifeffit, then
8 ## $ENV{INSTALLING_WITH} will be set by Atoms' topmost Makefile.PL.
9 my $blib;
10 SWITCH : {
11 $blib = "blib", last SWITCH if (not $ENV{INSTALLING_WITH});
12 $blib = "../blib", last SWITCH if ($ENV{INSTALLING_WITH} eq 'atoms');
13 $blib = "../blib", last SWITCH if ($ENV{INSTALLING_WITH} eq 'horae');
14 $blib = "../../blib", last SWITCH if ($ENV{INSTALLING_WITH} eq 'ifeffit');
15 };
16
17 #print "In Xtal: blib=$blib\n";
18
19 WriteMakefile
20 (
21 'NAME' => 'Xray::Xtal',
22 'DISTNAME' => 'Xtal',
23 'VERSION_FROM' => 'Xtal.pm', # finds $VERSION
24 dist => { COMPRESS => 'gzip -f', SUFFIX => 'gz' },
25 clean => { FILES => "*.db" },
26 ($] >= 5.005 ?
27 ('ABSTRACT' =>
28 'Xtal.pm: Object Oriented Crystallography with a condensed matter slant',
29 'AUTHOR' => 'Bruce Ravel ([email protected])') : ()),
30 'PL_FILES' => {'space_groups.db.PL' => 'space_groups.db',},
31 'PM' =>
32 {'Xtal.pm' => "$blib/lib/Xray/Xtal.pm",
33 'space_groups.db.PL' => "$blib/lib/Xray/space_groups.db.PL",
34 'space_groups.db' => "$blib/lib/Xray/space_groups.db",
35 'xtalrc.en' => "$blib/lib/Xray/lib/xtalrc.en",
36 #'xtalrc.sp' => "$blib/lib/Xray/lib/xtalrc.sp",
37 #'xtalrc.fr' => "$blib/lib/Xray/lib/xtalrc.fr",
38 #'xtalrc.ge' => "$blib/lib/Xray/lib/xtalrc.ge",
39 },
40 );
41
42 ## Local Variables:
43 ## mode: cperl
44 ## End: