File: rules

package info (click to toggle)
ruby-pygments.rb 1.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,008 kB
  • sloc: ansic: 1,869; ruby: 612; python: 518; makefile: 10; sh: 4
file content (17 lines) | stat: -rwxr-xr-x 455 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
export DH_RUBY = --gem-install
export DH_RUBY_GEM_INSTALL_WHITELIST_APPEND = lexers
export DH_RUBY_GEM_INSTALL_BLACKLIST_APPEND = vendor/*

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

execute_before_dh_auto_build:
	rake lexers

# The ruby debhelper module passes -X.rb to dh_compress, but this
# exclusion pattern would match debian/ruby-pygments.rb/.
override_dh_compress:
	dh_compress