[DRE-commits] [ruby-parser] 05/10: replace build: target by override_dh_auto_build and clean by a debian/clean file

Cédric Boutillier boutil at moszumanska.debian.org
Fri Feb 28 12:32:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-parser.

commit b3c1b10b4f68ed8136025c2828ac6c53b25afe1d
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Dec 25 23:16:59 2013 +0100

    replace build: target by override_dh_auto_build and clean by a debian/clean file
---
 debian/rules | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index bbe39ba..6b3f684 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,13 +14,10 @@
 %:
 	dh $@ --buildsystem=ruby --with ruby
 
-build:
-	dh build --buildsystem=ruby --with ruby
+override_dh_build:
+	dh_build
 	pod2man  --section=1 --release="ruby_parser-2.2.0" \
 	  --center="Debian GNU System" debian/ruby_parse.1.pod \
 	  >debian/ruby_parse.1
 	rm debian/ruby-parser/usr/bin/ruby_parse_extract_error
 
-clean:
-	dh clean --buildsystem=ruby --with ruby
-	if [ -f debian/ruby_parse.1 ]; then rm debian/ruby_parse.1; fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-parser.git



More information about the Pkg-ruby-extras-commits mailing list