File: rules

package info (click to toggle)
puppet-strings 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,336 kB
  • sloc: ruby: 7,285; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 433 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

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

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

override_dh_auto_install:
	dh_auto_install
	find $(CURDIR) -iname "*.erb" -and -executable -exec chmod -x {} +

override_dh_installman:
	mkdir debian/tmp
	rst2man debian/manpage.rst debian/tmp/puppet-strings.1
	dh_installman debian/tmp/puppet-strings.1