Makefile
raw| 1 | release_version := $(shell grep "^RUBY_BUILD_VERSION" bin/ruby-build | cut -d\" -f2) |
| 2 | |
| 3 | .PHONY: install |
| 4 | install: |
| 5 | bash install.sh |
| 6 | |
| 7 | share/man/man1/%.1: share/man/man1/%.1.adoc bin/ruby-build |
| 8 | which asciidoctor || gem install asciidoctor |
| 9 | asciidoctor -b manpage -a version=$(release_version:v%=%) -o $@ $< |