File: rules

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

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

export GEM2DEB_TEST_RUNNER = --check-dependencies

%:
	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