#!/usr/bin/make -f
#export DH_VERBOSE=1
#
# Uncomment to ignore all test failures (but the tests will run anyway)
#export DH_RUBY_IGNORE_TESTS=all
#
# Uncomment to ignore some test failures (but the tests will run anyway).
# Valid values:
#export DH_RUBY_IGNORE_TESTS=ruby2.1 require-rubygems
#
# If you need to specify the .gemspec (eg there is more than one)
#export DH_RUBY_GEMSPEC=gem.gemspec

%:
	dh $@

override_dh_auto_build:
	chmod -x app/assets/fonts/SourceSansPro-BlackItalic.ttf
	chmod -x app/assets/fonts/SourceSansPro-Italic.ttf
	chmod -x app/assets/fonts/SourceSansPro-LightItalic.ttf
	chmod -x app/assets/fonts/OFL.txt
	chmod -x app/assets/fonts/SourceSansPro-SemiboldItalic.ttf
	chmod -x app/assets/fonts/SourceSansPro-BoldItalic.ttf
	chmod -x app/assets/fonts/SourceSansPro-ExtraLightItalic.ttf
	chmod +x Rakefile

override_dh_auto_clean:
	chmod +x app/assets/fonts/SourceSansPro-BlackItalic.ttf
	chmod +x app/assets/fonts/SourceSansPro-Italic.ttf
	chmod +x app/assets/fonts/SourceSansPro-LightItalic.ttf
	chmod +x app/assets/fonts/OFL.txt
	chmod +x app/assets/fonts/SourceSansPro-SemiboldItalic.ttf
	chmod +x app/assets/fonts/SourceSansPro-BoldItalic.ttf
	chmod +x app/assets/fonts/SourceSansPro-ExtraLightItalic.ttf
	chmod -x Rakefile