-
Notifications
You must be signed in to change notification settings - Fork 84
/
Makefile.PL
41 lines (38 loc) · 1.02 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
# Makefile.PL
#
# pre-commit necessary file:
# this file is needed for the pre-commit tool
# to work with latexindent.pl
#
use ExtUtils::MakeMaker;
use File::Copy;
copy('defaultSettings.yaml', 'LatexIndent/defaultSettings.yaml');
WriteMakefile(
NAME => "LatexIndent",
VERSION_FROM => "LatexIndent/Version.pm",
(
$] >= 5.005
? (
ABSTRACT => 'Indent LaTeX code',
LICENSE => 'gpl_3',
AUTHOR => 'Chris Hughes'
)
: ()
),
PREREQ_PM => {
'YAML::Tiny' => 0,
'File::HomeDir' => 0,
},
EXE_FILES => ['latexindent.pl'],
dist => { COMPRESS => 'gzip', SUFFIX => 'gz' },
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/cmhughes/latexindent.pl.git',
web => 'https://github.com/cmhughes/latexindent.pl',
},
},
},
);