File: rules

package info (click to toggle)
ruby-pgplot 0.1.9-3
  • links: PTS, VCS
  • area: contrib
  • in suites: buster, stretch
  • size: 604 kB
  • ctags: 144
  • sloc: ruby: 1,607; makefile: 76; ansic: 57; sh: 17
file content (17 lines) | stat: -rwxr-xr-x 432 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
%:
	dh $@ --with ruby --buildsystem ruby

override_dh_auto_install:
	dh_auto_install
	( cd $(CURDIR)/doc && make )

override_dh_installdocs:
	dh_installdocs
	( cd $(CURDIR)/debian/ruby-pgplot/usr/share/doc/ruby-pgplot/doc && \
	  rm -fr Makefile *.rb *.sh || true )

override_dh_auto_clean:
	dh_auto_clean
	( cd $(CURDIR)/doc && make clean )
	[ ! -f $(CURDIR)/ext/rb_pgplot.c ] || rm -f $(CURDIR)/ext/rb_pgplot.c