File: rules

package info (click to toggle)
thin 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,356 kB
  • sloc: javascript: 6,108; ruby: 5,126; ansic: 1,738; sh: 21; makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

INSTALLED_GEM_PATH=$(shell ruby -e 'puts Gem.default_path.map { |x| ["debian/thin"+x, x] }.flatten.join(":")')
export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install

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

override_dh_installman:
	GEM_PATH=$(INSTALLED_GEM_PATH) help2man -n "fast and very simple Ruby web server" ./bin/thin > debian/thin.manpage
	dh_installman