File: rules

package info (click to toggle)
ruby-gsl 1.15.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,528 kB
  • ctags: 6,328
  • sloc: ansic: 62,164; ruby: 17,917; makefile: 18; sh: 15
file content (25 lines) | stat: -rwxr-xr-x 741 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

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

override_dh_install:
	dh_install lib/gsl.rb lib/rbgsl.rb usr/lib/ruby/vendor_ruby/

override_dh_auto_clean:
	dh_auto_clean
	if [ -d html ] ; then rm -rf html; fi
	for f in include/rb_gsl_config.h lib/gsl.rb lib/rbgsl.rb; do \
	  rm -rf $$f; \
	done

override_dh_strip:
	dh_strip --dbg-package=ruby-gsl-dbg

override_dh_installdocs:
	dh_installdocs 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 {} \;