1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install
%:
dh $@ --buildsystem ruby --with ruby
override_dh_strip:
dh_strip --dbgsym-migration="ruby-gsl-dbg (<< 2.1.0.3+dfsg1-1~)"
override_dh_installexamples:
dh_installexamples examples/*
rm -rf debian/ruby-gsl/usr/share/doc/ruby-gsl/examples/fit/*.dat
rm -rf debian/ruby-gsl/usr/share/doc/ruby-gsl/examples/linalg/linalg.replaced
rm -rf debian/ruby-gsl/usr/share/doc/ruby-gsl/examples/gallery/rgplot/rgplot.replaced
find debian/ruby-gsl/usr/share/doc/ruby-gsl/examples -name "*.rb" -exec chmod a-x {} \;
|