debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ |
| 5 | |
| 6 | override_dh_auto_build: |
| 7 | |
| 8 | override_dh_auto_install: |
| 9 | PREFIX=debian/ruby-build/usr ./install.sh |
| 10 | mkdir -p debian/ruby-build/usr/lib/rbenv/libexec |
| 11 | mv debian/ruby-build/usr/bin/rbenv-* \ |
| 12 | debian/ruby-build/usr/lib/rbenv/libexec |
| 13 | |
| 14 | override_dh_auto_test: |
| 15 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 16 | bats test/ |
| 17 | endif |