File: rules

package info (click to toggle)
ruby-license-finder 7.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, trixie
  • size: 1,216 kB
  • sloc: ruby: 5,486; sh: 125; python: 31; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 536 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
#!/usr/bin/make -f

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

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

override_dh_install:
	dh_install
	rm -f debian/ruby-license-finder/usr/share/rubygems-integration/all/gems/license_finder-*/bin/license_finder_pip.py
	rm -f debian/ruby-license-finder/usr/bin/license_finder_pip.py

override_dh_clean:
	dh_clean
	rm -rf Gemfile.lock

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3