Debian Codegraph @

attic/scripts/Makefile.PL

raw
1 ## -*- cperl -*-
2
3 use ExtUtils::MakeMaker;
4
5 ## If this is being installed with Atoms of with Ifeffit, then
6 ## $ENV{INSTALLING_WITH} will be set by Atoms' topmost Makefile.PL.
7 my $blib;
8 SWITCH : {
9 $blib = "blib", last SWITCH if (not $ENV{INSTALLING_WITH});
10 $blib = "../blib", last SWITCH if ($ENV{INSTALLING_WITH} eq 'atoms');
11 $blib = "../blib", last SWITCH if ($ENV{INSTALLING_WITH} eq 'horae');
12 $blib = "../../blib", last SWITCH if ($ENV{INSTALLING_WITH} eq 'ifeffit');
13 };
14
15
16 ## fixup shbang lines in the scripts
17 @ARGV = qw(apt.pl dafs.pl findatp powder.pl template.pl tkatoms.pl horae_update);
18 do 'fixin';
19
20 WriteMakefile(
21 'NAME' => 'AtomsOtherScripts',
22 'VERSION' => '2004.01.15',
23 EXE_FILES => ['findatp']
24 #'PM' =>
25 #{ # module and data
26 # 'findatp.pl' => "$blib/bin/findatp"
27 #'apt.pl' => "$blib/bin/apt",
28 #'apt.pod' => "$blib/bin/apt.pod",
29 #'tkatoms.pl' => "$blib/bin/tkatoms",
30 #'tkatoms.gif' => "$blib/lib/Xray/lib/tkatoms.gif",
31 #'tkatoms3.xbm' => "$blib/lib/Xray/lib/tkatoms3.xbm",
32 #'elephant.xbm' => "$blib/lib/Xray/lib/elephant.xbm",
33 #'Tk/Absorption.pm' => "$blib/lib/Xray/Tk/Absorption.pm",
34 #'Tk/Atoms.pm' => "$blib/lib/Xray/Tk/Atoms.pm",
35 #'Tk/Config.pm' => "$blib/lib/Xray/Tk/Config.pm",
36 #'Tk/Dafs.pm' => "$blib/lib/Xray/Tk/Dafs.pm",
37 ##'Tk/Molecule.pm' => "$blib/lib/Xray/Tk/Molecule.pm",
38 #'Tk/Plotter.pm' => "$blib/lib/Xray/Tk/Plotter.pm",
39 #'Tk/Powder.pm' => "$blib/lib/Xray/Tk/Powder.pm",
40 #'Tk/Utils.pm' => "$blib/lib/Xray/Tk/Utils.pm",
41 #},
42 );