File: rules

package info (click to toggle)
ruby-soap4r 2.0.5-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,912 kB
  • ctags: 6,143
  • sloc: ruby: 52,732; xml: 266; sh: 42; perl: 10; makefile: 9
file content (15 lines) | stat: -rwxr-xr-x 497 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

override_dh_installdocs:
	dh_installdocs
	# move distributed binaries to documentation directory as examples
	mv $(CURDIR)/debian/ruby-soap4r/usr/bin $(CURDIR)/debian/ruby-soap4r/usr/share/doc/ruby-soap4r/examples

override_dh_installexamples:
	find $(CURDIR)/debian/ruby-soap4r/usr/share/doc/ruby-soap4r/examples/ -executable -exec chmod -x '{}' ';'

override_dh_clean:
	dh_clean $(shell find lib/ -name \*.orig | xargs -n 1 echo -X)