-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
29 lines (26 loc) · 1.01 KB
/
Makefile.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use 5.012004;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
NAME => 'SVG::VCD',
VERSION_FROM => 'lib/SVG/VCD.pm', # finds $VERSION
PREREQ_PM => {
SVG => 2.5,
}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT => 'Generate schematic illustrations of vertebral columns',
AUTHOR => 'Mike Taylor <[email protected]>') : ()),
EXE_FILES => [ 'bin/VertFigure' ],
);
sub MY::postamble { q[
%.svg: %.vcd bin/VertFigure
rm -f $@
perl -I lib bin/VertFigure $< > $@
chmod 444 $@
clean::
rm -rf debian/files debian/libvcd-perl debian/libvcd-perl.debhelper.log debian/libvcd-perl.substvars \
examples/bifurcation/bifurcation.svg examples/pbj/pbj.svg \
lib/SVG/VCD/Format.html lib/SVG/VCD/pod2htmd.tmp lib/SVG/VCD/pod2htmi.tmp
]; }
# Note to self: dpkg-buildpackage -us -uc -rfakeroot