File: rules

package info (click to toggle)
ruby-github-markup 1.7.0+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 372 kB
  • sloc: ruby: 441; python: 170; sh: 26; makefile: 18; perl: 12
file content (28 lines) | stat: -rwxr-xr-x 669 bytes parent folder | download | duplicates (2)
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
28
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies

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

override_dh_auto_clean:
	dh_auto_clean
	rm -rf doc

override_dh_auto_build:
	dh_auto_build
	# build documentation
	rdoc --main=README.md --exclude=commands lib
	rm -f doc/js/*.js.gz

override_dh_auto_install:
	# use utf-8 locale so test cases work
	LC_ALL=C.UTF-8 dh_auto_install

override_dh_installchangelogs:
	dh_installchangelogs HISTORY.md

override_dh_fixperms:
	dh_fixperms
	chmod a+x debian/ruby-github-markup/usr/lib/ruby/vendor_ruby/github/commands/pod2html
	chmod a+x debian/ruby-github-markup/usr/lib/ruby/vendor_ruby/github/commands/rest2html