File: rules

package info (click to toggle)
ruby-sentry-raven 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,060 kB
  • sloc: ruby: 5,436; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 506 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies

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

override_dh_auto_build:
	dh_auto_build
	rdoc --main=README.md --exclude=commands lib
	rm -rf usr/share/doc/ruby-sentry-raven/doc/js/jquery.js
	rm -rf doc/js/navigation.js.gz doc/js/search_index.js.gz doc/js/searcher.js.gz doc/js/searcher.js.gz

override_dh_auto_install:
	dh_auto_install
	#remove raven script from /usr/bin, installed as an example
	$(RM) -r debian/ruby-sentry-raven/usr/bin/