File: rules

package info (click to toggle)
ruby-hitimes 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 352 kB
  • sloc: ruby: 1,196; ansic: 418; java: 265; makefile: 15
file content (21 lines) | stat: -rwxr-xr-x 522 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
#export DH_VERBOSE=1

export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install
export DH_RUBY_GEM_INSTALL_EXCLUDE = tasks/*

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

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

override_dh_clean:
	dh_clean -O--buildsystem=ruby
	$(RM) -rf coverage
	@if ! [ -f ext/hitimes/c/Makefile ]; then \
	cd ext/hitimes/c; ruby extconf.rb; cd -; \
	fi
	make -C ext/hitimes/c clean
	$(RM) -rf ext/hitimes/c/Makefile