[DRE-commits] [gem2deb] 01/01: debian/rules: reuse bin/dh_ruby to list supported versions
Antonio Terceiro
terceiro at moszumanska.debian.org
Wed Jul 15 21:35:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository gem2deb.
commit 7d7cd186101a2020db7092e0c7bad07fb1bfa633
Author: Antonio Terceiro <terceiro at debian.org>
Date: Wed Jul 15 18:34:40 2015 -0300
debian/rules: reuse bin/dh_ruby to list supported versions
no need to duplicate that logic here
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 720a8e1..f10e622 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
%:
dh $@
-ruby_versions := $(shell ruby -Ilib -rgem2deb -e 'puts Gem2Deb::SUPPORTED_RUBY_VERSIONS.keys.sort.join(" ")')
+ruby_versions := $(shell ruby -Ilib ./bin/dh_ruby --print-supported)
override_dh_auto_build: $(ruby_versions)
mkdir -p man/gem2deb man/gem2deb-test-runner
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git
More information about the Pkg-ruby-extras-commits
mailing list