App-Chart
view release on metacpan or search on metacpan
maybe/Build-PL view on Meta::CPAN
# $ret = "mo: " . join(' ',@mofiles) . "\n" . $ret;
# $ret = "po: " . join(' ',@pofiles) . "\n" . $ret;
#
# return $ret;
# }
#
# sub MY::postamble {
# my ($self) = @_;
# my $ret = <<'MAKE_FRAG';
#
# #------------------------------------------------------------------------------
# # message translation stuff
#
# pot: po/AppChart.pot
#
# po/AppChart.pot: po/header.pot $(PO_FILES)
# xgettext \
# --omit-header \
# --language=Perl \
# --keyword=__ \
# --add-comments=TRANSLATORS: \
# --width=78 \
# --msgid-bugs-address='Kevin Ryde <user42_kevin@yahoo.com.au>' \
# --copyright-holder="Kevin Ryde" \
# --default-domain=AppChart \
# --package-name=Chart \
# --package-version='$(VERSION)' \
# --output=AppChart.tmp \
# --from-code=utf-8 \
# --keyword=__ \
# --keyword=__x \
# $(PO_FILES)
# cat po/header.pot AppChart.tmp >$@
# rm AppChart.tmp
#
# MAKE_FRAG
# $ret .= generate_po_rules($self);
# $ret .= <<'MAKE_FRAG';
#
#
# #------------------------------------------------------------------------------
# # doc stuff
#
# doc/chart.info: doc/chart.texi doc/version.texi
# cd doc; makeinfo chart.texi
#
# doc/version.texi: Makefile
# echo '@c Generated by top-level Makefile, DO NOT EDIT' >doc/version.texi
# echo '@set VERSION $(VERSION)' >>doc/version.texi
#
# lib/App/Chart/chart.html: doc/chart.texi doc/version.texi
# cd doc; makeinfo --html --no-split --output=../$@ chart.texi
#
# doc: doc/chart.info lib/App/Chart/chart.html
#
#
# #------------------------------------------------------------------------------
# # development stuff
#
# # filter-out is a GNU-ism
# LINT_FILES = $(filter-out %/COPYING %.desktop %.html %.mo, $(TO_INST_PM))\
# t/*.t devel/*.pl examples/*.pl
# lint:
# for i in $(LINT_FILES); do \
# perl -I lib -MO=Lint,no-context,no-regexp-variables $$i; \
# done
# podchecker $(LINT_FILES)
# pc:
# perlcritic $(LINT_FILES)
#
# myman:
# mv MANIFEST MANIFEST.old
# touch SIGNATURE
# (make manifest 2>&1; diff -u MANIFEST.old MANIFEST) |less
#
# # find files in the dist with mod times this year, but without this year in
# # the copyright line
# copyright-years-check: chart-$(VERSION).tar.gz
# year=`date +%Y`; \
# tar tvfz chart-$(VERSION).tar.gz \
# | grep $$year- \
# | sed 's:^.*chart-$(VERSION)/::' \
# | (result=0; \
# while read i; do \
# case $$i in \
# '' | */ | *.gmo \
# | debian/changelog | debian/compat | debian/control \
# | debian/doc-base \
# | misc/* | doc/*.txt | doc/*.eps \
# | SIGNATURE | META.yml) \
# continue ;; \
# esac; \
# if test -e "$(srcdir)/$$i"; then f="$(srcdir)/$$i"; \
# else f="$$i"; fi; \
# if ! grep -q "Copyright.*$$year" $$f; then \
# echo "$$i:1: this file"; \
# grep Copyright $$f; \
# result=1; \
# fi; \
# done; \
# exit $$result)
#
# debug-constants-check:
# if egrep -n 'DEBUG => [1-9]' $(TO_INST_PM); then exit 1; else exit 0; fi
#
# TAGS: $(TO_INST_PM)
# etags $(TO_INST_PM)
#
# MAKE_FRAG
# return $ret;
# }
( run in 1.124 second using v1.01-cache-2.11-cpan-39bf76dae61 )