File: rules

package info (click to toggle)
ruby-ruby-parser 3.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,180 kB
  • sloc: ruby: 124,525; yacc: 35,033; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 490 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's/^Version: ([^+]+).*/\1/p')
export GEM2DEB_TEST_RUNNER = --check-dependencies

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

override_dh_installman:
	pod2man  --section=1 --release="ruby_parser-$(DEB_UPSTREAM_VERSION)" \
	  --utf8 --center="Debian GNU System" debian/ruby_parse.1.pod debian/ruby_parse.1
	dh_installman

override_dh_install:
	dh_install
	rm -f debian/ruby-parser/usr/bin/ruby_parse_extract_error