File: rules

package info (click to toggle)
ruby-minitest 6.0.1%2Breally6.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 592 kB
  • sloc: ruby: 6,916; makefile: 13
file content (18 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install
export LC_ALL = C.UTF-8

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

override_dh_installchangelogs:
	dh_installchangelogs History.rdoc

override_dh_auto_install:
	dh_auto_install
	find debian/ruby-minitest/usr/share/rubygems-integration/all/gems/minitest-* \
	  -maxdepth 0 -type d -print0 2>/dev/null | \
	  xargs -0 -I GEMDIR install -D -m 0644 \
	    debian/mock.rb GEMDIR/lib/minitest/mock.rb || true