File: rules

package info (click to toggle)
ruby-mocha 1.16.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,588 kB
  • sloc: ruby: 12,526; javascript: 493; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 467 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

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

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

override_dh_installchangelogs:
	dh_installchangelogs RELEASE.md -O--buildsystem=ruby

override_dh_install:
	yard --title "Mocha $(DEB_VERSION_UPSTREAM)"
	dh_install
	# do not install bin/build-matrix
	rm -rf debian/ruby-mocha/usr/bin

override_dh_clean:
	rm -rf doc/ .yardoc/
	dh_clean