File: Makefile

package info (click to toggle)
ruby-build 20241225.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,988 kB
  • sloc: sh: 1,980; makefile: 19; ruby: 14
file content (9 lines) | stat: -rw-r--r-- 302 bytes parent folder | download
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 $@ $<