File: rules

package info (click to toggle)
puppet-lint 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 932 kB
  • sloc: ruby: 11,769; sh: 16; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 386 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install

mandir := $(CURDIR)/debian/puppet-lint/usr/share/man/man1

%:
	dh $@ --buildsystem=ruby --with ruby

ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
override_dh_installman:
	mkdir -p $(mandir)
	help2man --name='Puppet Lint' --no-info \
		-o $(mandir)/puppet-lint.1 bin/puppet-lint
endif