File: rules

package info (click to toggle)
ruby-httparty 0.21.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 908 kB
  • sloc: ruby: 6,782; xml: 425; sh: 35; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

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

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

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

override_dh_installman:
	help2man --no-info --include=debian/httparty.h2m \
          -h "-I lib/ bin/httparty -h"  --version-string $(DEB_VERSION_UPSTREAM) /usr/bin/ruby  > httparty.1
	patch httparty.1 < debian/httparty.1.diff
	dh_installman

override_dh_auto_clean:
	dh_auto_clean
	rm -rf coverage/