File: rules

package info (click to toggle)
ruby-passenger 3.0.13debian-1%2Bdeb7u2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 15,920 kB
  • sloc: cpp: 99,104; ruby: 18,098; ansic: 9,846; sh: 8,632; python: 141; makefile: 30
file content (27 lines) | stat: -rwxr-xr-x 673 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f
#export DH_VERBOSE=1

export USE_VENDORED_LIBEV=false

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

override_dh_auto_build:
	/usr/bin/ruby1.8 /usr/bin/rake fakeroot
	mv pkg/fakeroot pkg/fakeroot1.8
	/usr/bin/ruby1.9.1 /usr/bin/rake fakeroot
	mv pkg/fakeroot pkg/fakeroot1.9.1

override_dh_auto_install:
	mkdir debian/tmp/
	cp -a pkg/fakeroot1.8/* debian/tmp/
	cp -a pkg/fakeroot1.9.1/* debian/tmp/
	rm -f debian/tmp/usr/share/doc/phusion-passenger/images/._phusion_banner.png

override_dh_auto_clean:
	dh_auto_clean -O--buildsystem=ruby
	rm -rf pkg/fakeroot1.8
	rm -rf pkg/fakeroot1.9.1

override_dh_install:
	dh_install --list-missing -O--buildsystem=ruby