#!/usr/bin/make -f export GEM2DEB_TEST_RUNNER = --check-dependencies export DH_RUBY = --gem-install %: dh $@ --buildsystem=ruby --with ruby override_dh_clean: dh_clean -XTAGS override_dh_fixperms: dh_fixperms find debian/ruby-flexmock/usr/share/rubygems-integration \ \( -name '*.rb' -o -name '*.rake' \) \ -exec sh -c 'head -c 2 "$$1" | grep -q "^#!" && chmod +x "$$1"' _ {} \;