Image-Base-Tk
view release on metacpan or search on metacpan
inc/MyMakeMakerExtras.pm view on Meta::CPAN
$post .= "\t-\$(PERLRUNINST) -e 'use "."Test::Vars; all_vars_ok()'\n";
# ------ pc: podcoverage ------
foreach (@{$my_options{'MyMakeMakerExtras_Pod_Coverage'}}) {
my $class = $_;
# the "." obscures it from MyExtractUse.pm
$post .= "\t-\$(PERLRUNINST) -e 'use "."Pod::Coverage package=>$class'\n";
}
# ------ pc: podlinkcheck ------
$post .= <<'HERE';
-podlinkcheck -I lib `ls $(LINT_FILES) | grep -v '\.bash$$|\.desktop$$\.png$$|\.xpm$$'`
HERE
# ------ pc: podchecker ------
# "podchecker -warnings -warnings" too much reporting every < and >
$post .= <<'HERE';
-podchecker `ls $(LINT_FILES) | grep -v '\.bash$$|\.desktop$$\.png$$|\.xpm$$'`
perlcritic $(LINT_FILES)
HERE
# ------ check-copyright-years ------
$post .= <<'HERE';
# find files in the dist with mod times this year, but without this year in
# the copyright line
MY_HIDE=
check-copyright-years:
inc/MyMakeMakerExtras.pm view on Meta::CPAN
test "$$debver" = "$(VERSION)"
rm -rf $(DISTVNAME)
tar xfz $(DISTVNAME).tar.gz
unset DISPLAY; export DISPLAY; \
cd $(DISTVNAME) \
&& dpkg-checkbuilddeps debian/control \
&& fakeroot debian/rules binary
rm -rf $(DISTVNAME)
lintian-deb: $(DEBFILE)
lintian -I -i --suppress-tags new-package-should-close-itp-bug,desktop-entry-contains-encoding-key \
$(DEBFILE)
lintian-source:
rm -rf temp-lintian; \
mkdir temp-lintian; \
cd temp-lintian; \
cp ../$(DISTVNAME).tar.gz $(DEBNAME)_$(VERSION).orig.tar.gz; \
tar xfz $(DEBNAME)_$(VERSION).orig.tar.gz; \
mv -T $(DISTVNAME) $(DEBNAME)-$(VERSION); \
dpkg-source -b $(DEBNAME)-$(VERSION) \
$(DEBNAME)_$(VERSION).orig.tar.gz; \
( run in 0.455 second using v1.01-cache-2.11-cpan-299005ec8e3 )