Update Makefile with META_MERGE and MAN3PODS informations

This commit is contained in:
Darold Gilles 2014-08-02 14:38:02 +02:00
parent 5471d587d7
commit 382c308d21
1 changed files with 14 additions and 3 deletions

View File

@ -86,8 +86,6 @@ install -m 644 resources/images/info.png $DESTDIR$HTMLDIR/images/
install -m 644 resources/images/network.png $DESTDIR$HTMLDIR/images/ install -m 644 resources/images/network.png $DESTDIR$HTMLDIR/images/
install -m 644 resources/images/user.png $DESTDIR$HTMLDIR/images/ install -m 644 resources/images/user.png $DESTDIR$HTMLDIR/images/
install -m 644 lang/* $DESTDIR$CONFDIR/lang/ install -m 644 lang/* $DESTDIR$CONFDIR/lang/
pod2man doc/SquidAnalyzer.pod doc/squidanalyzer.3
install -m 644 doc/squidanalyzer.3 $DESTDIR$MANDIR/squidanalyzer.3
pod2text doc/SquidAnalyzer.pod README pod2text doc/SquidAnalyzer.pod README
}; };
if ($DOCDIR ne '') { if ($DOCDIR ne '') {
@ -151,9 +149,22 @@ WriteMakefile(
}, },
'AUTHOR' => 'Gilles Darold (gilles@darold.net)', 'AUTHOR' => 'Gilles Darold (gilles@darold.net)',
'ABSTRACT' => 'Squid log analyzer', 'ABSTRACT' => 'Squid log analyzer',
'EXE_FILES' => [ qw(squid-analyzer) ],
'MAN3PODS' => { 'doc/SquidAnalyzer.pod' => 'blib/man3/squidanalyzer.3' },
'DESTDIR' => $ENV{DESTDIR}, 'DESTDIR' => $ENV{DESTDIR},
'INSTALLDIRS' => $ENV{INSTALLDIRS}, 'INSTALLDIRS' => $ENV{INSTALLDIRS},
clean => {FILES => "install_all.sh"}, 'clean' => { FILES => "install_all.sh lib/blib/" },
'META_MERGE' => {
resources => {
homepage => 'http://squidanalyzer.darold.net/',
repository => {
type => 'git',
git => 'git@github.com:darold/squidanalyzer.git',
web => 'https://github.com/darold/squidanalyzer',
},
},
}
); );
sub MY::install { sub MY::install {