File: Makefile.PL

package info (click to toggle)
pdl 2.005-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,200 kB
  • ctags: 3,301
  • sloc: perl: 14,876; ansic: 7,223; fortran: 3,417; makefile: 54; sh: 16
file content (20 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# files ending in .fits will end up in
# PDL/Graphics/LUT/tables/
#
# WARNING: this all looks rather UNIX specific
# (unless MakeMaker is clever enough to convert
# UNIX file names to the system it's running on)
#
use ExtUtils::MakeMaker;

my @tables = glob( "*.fits" );

WriteMakefile(
  'NAME'         => 'PDL::Graphics::LUT::tables::DATA',   
  'VERSION_FROM' => '../../../Basic/Core/Version.pm',
  'PM' => {
      (map {($_,'$(INST_LIBDIR)/'.$_)} @tables)
   }
);