forked from GlobalNOC/tsds-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
executable file
·38 lines (29 loc) · 927 Bytes
/
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
use strict;
use warnings;
use ExtUtils::MakeMaker;
sub MY::postamble { <<'END'; }
rpm: dist
rpmbuild -ta grnoc-tsds-services-$(VERSION).tar.gz
END
sub MY::test
{
q(
TEST_VERBOSE=1
test : pure_all
$(FULLPERL) t/TEST $(TEST_VERBOSE)
test_jenkins : pure_all
$(FULLPERL) t/TEST $(TEST_VERBOSE) --formatter=TAP::Formatter::Console
par :
pp -M utf8 -M XML::LibXML::SAX -I lib/ -c -x bin/tsds_writer -o tsds_writer
);
}
WriteMakefile(
NAME => 'grnoc-tsds-services',
AUTHOR => 'GRNOC Software Engineering <[email protected]>',
VERSION_FROM => 'lib/GRNOC/TSDS.pm',
PL_FILES => {},
PREREQ_PM => {
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'grnoc-tsds-services-*' },
);