File: rules

package info (click to toggle)
ruby-build 20220426-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,632 kB
  • sloc: sh: 1,863; ruby: 21; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install

%:
	dh $@

override_dh_install: update-manpage
	PREFIX=debian/ruby-build/usr ./install.sh
	mkdir -p debian/ruby-build/usr/lib/rbenv/libexec
	mv debian/ruby-build/usr/bin/rbenv-* \
	   debian/ruby-build/usr/lib/rbenv/libexec

update-manpage:
	asciidoctor --backend manpage debian/ruby-build.1.adoc