File: rules

package info (click to toggle)
ruby-bio 2.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,916 kB
  • sloc: ruby: 67,712; perl: 13; makefile: 11; sh: 1
file content (29 lines) | stat: -rwxr-xr-x 809 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f
#export DH_VERBOSE=1
#
# Uncomment to ignore all test failures (but the tests will run anyway)
#export DH_RUBY_IGNORE_TESTS=all
#
# Uncomment to ignore some test failures (but the tests will run anyway).
# Valid values:
#export DH_RUBY_IGNORE_TESTS=ruby2.1 ruby2.2
#
# If you need to specify the .gemspec (eg there is more than one)
#export DH_RUBY_GEMSPEC=gem.gemspec
#
# Uncomment to check dependencies during build:
# export GEM2DEB_TEST_RUNNER = --check-dependencies

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

override_dh_auto_clean:
	dh_auto_clean
	rm -f br_biofetch.1 br_bioflat.1 br_biogetseq.1 br_pmfetch.1

override_dh_auto_install:
	dh_auto_install
	for FILE in `ls debian/ruby-bio/usr/bin/*rb`; do \
		BINNAME=$$(echo $$FILE | sed 's/\.rb$$//'); \
		mv $$FILE $$BINNAME; \
	done