File: rules

package info (click to toggle)
libmodule-cpants-analyse-perl 0.86%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 448 kB
  • sloc: perl: 1,781; sh: 48; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 571 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_auto_test:
	dh_auto_test -- --test_files "$(shell ls t/*.t | grep -v analyse | grep -v t/calc_test_yaml_meta.t | grep -v t/unpack | grep -v t/calc.t | grep -v t/generated_files.t | grep -v t/moose_as_strict.t | grep -v t/plugin_manifest.t | grep -v t/perl5i)"

override_dh_auto_install:
	dh_auto_install
	mv $(TMP)/usr/bin/cpants_lint.pl $(TMP)/usr/bin/cpants_lint
	mv $(TMP)/usr/share/man/man1/cpants_lint.pl.1p $(TMP)/usr/share/man/man1/cpants_lint.1p