File: rules

package info (click to toggle)
thin 1.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 444 kB
  • sloc: ruby: 1,832; ansic: 1,738; sh: 82; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

INSTALLED_RUBYLIB=$(shell ruby -e 'puts $$:.map { |x| "debian/thin"+x }.join(":")')
export GEM2DEB_TEST_RUNNER = --check-dependencies

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

override_dh_install:
	ruby ./debian/gen_init.rb
	dh_install

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