File: rules

package info (click to toggle)
ruby-pdf-reader 2.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,512 kB
  • sloc: ruby: 11,959; sh: 46; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 390 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install

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

override_dh_auto_install:
	dh_auto_install
	rm debian/ruby-pdf-reader/usr/bin/*
	rmdir debian/ruby-pdf-reader/usr/bin

override_dh_installexamples:
	dh_installexamples
	chmod 755 debian/ruby-pdf-reader/usr/share/doc/ruby-pdf-reader/examples/*.rb