File: rules

package info (click to toggle)
dh-dist-zilla 1.4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 176 kB
  • sloc: perl: 185; makefile: 13
file content (17 lines) | stat: -rwxr-xr-x 377 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	debian/generate_manpages.pl

override_dh_auto_test:
# "ifeq" can be removed again once we switch to debhelper-compat=13.
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
	prove -v t
endif

perlcritic:
	fgrep -r '#!/usr/bin/''perl' -l . | xargs perlcritic -3
	find . -name '*.pm' | xargs perlcritic -3