File: rules

package info (click to toggle)
ruby-flipper 0.13.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,824 kB
  • sloc: ruby: 13,183; sh: 54; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 862 bytes parent folder | download | duplicates (4)
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

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

override_dh_auto_build:
	DH_RUBY_GEMSPEC=flipper.gemspec dh_auto_build -O--buildsystem=ruby -O--with ruby
	DH_RUBY_GEMSPEC=flipper-active_record.gemspec dh_auto_build -O--buildsystem=ruby -O--with ruby
	DH_RUBY_GEMSPEC=flipper-active_support_cache_store.gemspec dh_auto_build -O--buildsystem=ruby -O--with ruby

override_dh_auto_install:
	DH_RUBY_GEMSPEC=flipper.gemspec dh_auto_install -O--buildsystem=ruby -O--with ruby
	DH_RUBY_GEMSPEC=flipper-active_record.gemspec dh_auto_install -O--buildsystem=ruby -O--with ruby
	DH_RUBY_GEMSPEC=flipper-active_support_cache_store.gemspec dh_auto_install -O--buildsystem=ruby -O--with ruby

override_dh_auto_clean:
	dh_ruby --clean || DH_RUBY_GEMSPEC=/dev/null dh_ruby --clean