File: rules

package info (click to toggle)
ruby-locale 2.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 452 kB
  • sloc: ruby: 3,285; makefile: 9
file content (15 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

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

override_dh_installchangelogs:
	dh_installchangelogs doc/text/news.md -O--buildsystem=ruby

override_dh_auto_install:
	dh_auto_install
	# remove samples (which are installed elsewhere anyway) to avoid a lintian error (ruby-script-but-no-ruby-dep)
	rm -rf debian/ruby-locale/usr/share/rubygems-integration/all/gems/locale-*/samples