-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.PL
executable file
·63 lines (52 loc) · 1.68 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#======================================================================
# Makefile Maker for LaTeXML::MathSyntax
# d.ginev@jacobs-university.de
#======================================================================
use ExtUtils::MakeMaker;
use strict;
use warnings;
use FindBin;
#======================================================================
# Use "perl Makefile.PL <options>"
#======================================================================
our @EXCLUSIONS=();
our $MORE_MACROS = {};
our $MORE_MAKERULES='';
test_targets();
WriteMakefile(
NAME => 'LaTeXML::MathSyntax',
AUTHOR => 'Deyan Ginev <d.ginev@jacobs-university.de>',
ABSTRACT => "A new approach to parsing mathematical expressions for LaTeXML",
VERSION_FROM => 'lib/LaTeXML/MathSyntax.pm',
PREREQ_PM => {
'LaTeXML'=>'0.8.3',
'Marpa::R2'=>0,
'Test::Deep'=>0,
'List::MoreUtils'=>0,
'HTML::Entities'=>0,
'Graph::Easy'=>0,
'Graph::Easy::As_svg'=>0 },
(eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/dginev/LaTeXML-Plugin-MathSyntax.git',
web => 'https://github.com/dginev/LaTeXML-Plugin-MathSyntax',
}}})
: ()),
);
# Append any additional Makefile rules added by the following.
sub MY::postamble {
shift->MY::SUPER::postamble(@_) . $MORE_MAKERULES; }
sub test_targets {
$MORE_MAKERULES .= <<'ExtraTests';
test_classic : export MATH_PARSER=RecDescent
test_classic : test
test_marpa : export MATH_PARSER=LaTeXML::MathSyntax
test_marpa : test
# TODO
test_all : export MATH_PARSER=all
test_all : test
ExtraTests
}