File: Makefile.PL

package info (click to toggle)
libxml-xql-perl 0.68-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 624 kB
  • ctags: 535
  • sloc: perl: 5,842; xml: 4,007; makefile: 36
file content (13 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
use ExtUtils::MakeMaker;

WriteMakefile(
              NAME	=> 'XML::XQL::Parser',
              PREREQ_PM => { Parse::Yapp => '0' },

	      PM => { 'Parser.pm' => '$(INST_LIBDIR)/Parser.pm' },

	      # Is this cheating or this this the only way to do it?
	      # Note: yapp comes with Parse::Yapp
	      depend => { 'Parser.pm' => "Parser.yp\n\t\@\$(FULLPERL) \$(INSTALLBIN)/yapp -m XML::XQL::Parser Parser.yp > Parser.pm"  },
             );