File: rules

package info (click to toggle)
ruby-htree 0.8+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 448 kB
  • ctags: 703
  • sloc: ruby: 5,931; makefile: 24
file content (17 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DH_RUBY_GEMSPEC=debian/htree.gemspec
export GEM2DEB_TEST_RUNNER = --check-dependencies

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

# move htree.rb, htree into lib on buildtime, because gem2deb needs lib/
override_dh_auto_configure:
	mkdir lib
	cp -R htree.rb htree lib/
	dh_auto_configure -O--buildsystem=ruby

override_dh_auto_clean:
	rm -rf lib
	dh_auto_clean -O--buildsystem=ruby