#!/usr/bin/make -f

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

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

#move Version file inside lib/blockenspiel
override_dh_auto_build:
	cp Version lib/blockenspiel/Version
	dh_auto_build

override_dh_auto_install:
	dh_auto_install
	rm -f debian/ruby-blockenspiel/usr/share/rubygems-integration/all/gems/blockenspiel-*/lib/blockenspiel_unmixer_jruby.jar
