File: rules

package info (click to toggle)
ruby-mustermann 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,136 kB
  • sloc: ruby: 8,007; makefile: 6
file content (13 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

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

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

override_dh_auto_clean:
	# workaround for debian/patches/fix-gemspec.patch not being applied at
	# the point where the `clean` target runs. This can be removed when
	# debian/patches/fix-gemspec.patch is applied upstream.
	dh_ruby --clean || DH_RUBY_GEMSPEC=/dev/null dh_ruby --clean