File: rules

package info (click to toggle)
ruby-pygments.rb 1.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,420 kB
  • sloc: python: 69,727; ansic: 4,187; ruby: 617; makefile: 181; sh: 120
file content (31 lines) | stat: -rwxr-xr-x 642 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
28
29
30
31
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies

# The default is 8 seconds but it's not always enough for the test suite.
# See #923986 for details.
export MENTOS_TIMEOUT = 60

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

override_dh_auto_clean:
	dh_auto_clean
	rm -rf doc

override_dh_auto_build:
	dh_auto_build
	# build documention
	rdoc lib

override_dh_auto_install:
	dh_auto_install
	# make mentos.py executable
	chmod 0755 debian/ruby-pygments.rb/usr/lib/ruby/vendor_ruby/pygments/mentos.py

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.md
	dh_compress

get-orig-source:
	debian/get-orig-source.sh