File: rules

package info (click to toggle)
ruby-dataobjects-mysql 0.10.17-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 372 kB
  • sloc: ansic: 1,420; ruby: 653; sh: 30; makefile: 13
file content (23 lines) | stat: -rwxr-xr-x 638 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

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

%:
	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
	dh_auto_install
	rm -rf $(CURDIR)/debian/ruby-dataobjects-mysql/usr/lib/*/rubygems-integration/*/gems/do_mysql-*/tasks/

# install upstream changelog
override_dh_installchangelogs:
	dh_installchangelogs ChangeLog.markdown

override_dh_clean:
	chmod -x debian/start_mysqld_and_auto_install.sh
	dh_clean