#!/usr/bin/make -f

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

# We are renaming aws to ruby-aws and then cleaning up after the gem is installed
override_dh_auto_install:
	mv $(CURDIR)/lib/aws.rb $(CURDIR)/lib/ruby-aws.rb
	dh_auto_install
	mv $(CURDIR)/lib/ruby-aws.rb $(CURDIR)/lib/aws.rb
