File: rules

package info (click to toggle)
ruby-dataobjects-mysql 0.10.16-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 340 kB
  • ctags: 174
  • sloc: ansic: 1,400; ruby: 613; sh: 28; makefile: 10
file content (28 lines) | stat: -rwxr-xr-x 801 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
#!/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=ruby1.8 ruby1.9.1 require-rubygems
#
# If you need to specify the .gemspec (eg there is more than one)
#export DH_RUBY_GEMSPEC=gem.gemspec

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

# need to start an mysqld instance to run the tests
override_dh_auto_install:
	chmod +x debian/start_mysqld_and_auto_install.sh
	debian/start_mysqld_and_auto_install.sh

# install upstream changelog
override_dh_installchangelogs:
	dh_installchangelogs ChangeLog.markdown

override_dh_clean:
	chmod -x debian/start_mysqld_and_auto_install.sh
	dh_clean