File: rules

package info (click to toggle)
ruby-rmagick 6.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 8,232 kB
  • sloc: cpp: 19,563; ruby: 17,147; sh: 88; javascript: 36; makefile: 13
file content (18 lines) | stat: -rwxr-xr-x 424 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

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

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

override_dh_auto_clean:
	DH_RUBY_GEMSPEC=/dev/null dh_auto_clean

override_dh_install-indep:
	dh_install
	find debian/*/usr/share/doc/ruby-rmagick-doc/ \
		-name .cvsignore -delete
	find debian/*/usr/share/doc/ruby-rmagick-doc/ \
		-type f -executable -exec \
		chmod -x '{}' ';'