File: rules

package info (click to toggle)
ruby-browser 4.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 800 kB
  • sloc: ruby: 4,310; makefile: 13
file content (17 lines) | stat: -rwxr-xr-x 348 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 = test/*.yml *.yml

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

override_dh_auto_clean:
	if [ -e Gemfile.lock ]; then\
	   	rm Gemfile.lock; \
	fi
	if [ -e log/* ]; then \
		rm log/*; \
	fi
	dh_auto_clean