File: rules

package info (click to toggle)
ruby-htree 0.8%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 448 kB
  • ctags: 703
  • sloc: ruby: 5,931; makefile: 24
file content (20 lines) | stat: -rwxr-xr-x 447 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
# -*- makefile-gmake -*-

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

export DH_RUBY_GEMSPEC=debian/htree.gemspec

%:
	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