File: rules

package info (click to toggle)
ruby-train 3.13.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,208 kB
  • sloc: ruby: 10,002; sh: 17; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 377 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DH_RUBY_GEMSPEC = train-core.gemspec
export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install

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

override_dh_gencontrol:
	# add epoch to ruby-net-ssh dependency
	sed -i -e 's/ruby-net-ssh (\(\S\+\) \([0-9.]\+\))/ruby-net-ssh (\1 1:\2)/g' debian/ruby-train-core.substvars
	dh_gencontrol