File: Makefile

package info (click to toggle)
ruby-build 20260121-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 3,148 kB
  • sloc: sh: 1,914; ruby: 26; makefile: 19
file content (9 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (3)
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 $@ $<