File: rules

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

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

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

override_dh_installchangelogs:
	dh_installchangelogs doc/text/news.md

override_dh_builddeb:
	if grep '^Depends:.*ruby\s' debian/ruby-test-unit/DEBIAN/control; then echo "E: ruby-test-unit should not depend on ruby, since ruby already depends on ruby-test-unit"; false; fi
	dh_builddeb