File: Makefile

package info (click to toggle)
ruby-build 20260222-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,152 kB
  • sloc: sh: 1,929; ruby: 26; makefile: 19
file content (9 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
release_version := $(shell grep "^RUBY_BUILD_VERSION" bin/ruby-build | cut -d\" -f2)

.PHONY: install
install:
	bash install.sh

share/man/man1/%.1: share/man/man1/%.1.adoc bin/ruby-build
	which asciidoctor || gem install asciidoctor
	asciidoctor -b manpage -a version=$(release_version:v%=%) -o $@ $<