Autoconf-Template

 view release on metacpan or  search on metacpan

share/Makefile.am.tt  view on Meta::CPAN

#-*- mode: makefile-gmake; -*-
# autogenerated by [% generator %] v[% version %] on [% timestamp %]

SUBDIRS = . src config resources

include $(top_srcdir)/includes/directories.inc
include $(top_srcdir)/includes/apache-directories.inc

@do_subst_command@

ACLOCAL_AMFLAGS = -I autotools

requires.txt:
	autoconf-ax-check-requirements -f text -o $@

dist_resources_DATA = \
    requires.txt

install-from-cpan: install-from-cpan.in
	$(do_subst) $< > $@
	chmod +x $@

bin_SCRIPTS = install-from-cpan

$(PACKAGE_NAME).spec: % : %.in
	$(do_subst) $< > $@

.PHONY: cpan

cpan:
	requires=$(datadir)/$(PACKAGE)/requires.txt; \
	if ! test -e "$$requires"; then \
	  >&2 echo "$$requires is not installed yet."; \
	  false; \
	fi; \
	install-from-cpan $$requires

dist_noinst_DATA = \
  ChangeLog \
  README.md \
  install-from-cpan.in \
  perlcriticrc \
  $(PACKAGE_NAME).spec \
  $(PACKAGE_NAME).spec.in

CLEANFILES = \
    install-from-cpan

EXTRA_DIST = \
    configure \
    autotools/missing \
    autotools/install-sh \
    aclocal.m4

DISTCHECK_CONFIGURE_FLAGS = --with-perlcritic-severity=[% perlcritic_severity %] --with-perl5libdir='\$(prefix)/shaer/perl5'

[% FOREACH section IN custom_sections %]
[% section.join("\n") %]
[% END %]



( run in 0.661 second using v1.01-cache-2.11-cpan-39bf76dae61 )