debian-mirror-gitlab/debian/rules
Praveen Arimbrathodiyil 4f29068dcd fix permissions for fonts
2015-12-12 12:19:43 +05:30

33 lines
1.2 KiB
Makefile
Executable file

#!/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
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