[DRE-commits] [ruby-binding-of-caller] 02/04: add clean target in make file
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Aug 6 16:31:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-binding-of-caller.
commit 5d3301b546ba26183a09839827cde4966e4dfedc
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Thu Aug 6 21:37:13 2015 +0530
add clean target in make file
---
debian/patches/add-clean-target.patch | 12 ++++++++++++
debian/patches/series | 1 +
debian/rules | 4 ++++
3 files changed, 17 insertions(+)
diff --git a/debian/patches/add-clean-target.patch b/debian/patches/add-clean-target.patch
new file mode 100644
index 0000000..71e646b
--- /dev/null
+++ b/debian/patches/add-clean-target.patch
@@ -0,0 +1,12 @@
+Index: ruby-binding-of-caller-0.7.2/ext/binding_of_caller/extconf.rb
+===================================================================
+--- ruby-binding-of-caller-0.7.2.orig/ext/binding_of_caller/extconf.rb
++++ ruby-binding-of-caller-0.7.2/ext/binding_of_caller/extconf.rb
+@@ -1,6 +1,7 @@
+ def fake_makefile
+ File.open(File.join(File.dirname(__FILE__), "Makefile"), "w") do |f|
+ f.puts %[install:\n\techo "Nada."]
++ f.puts %[\nclean:\n\techo "Nada."]
+ end
+ end
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5a62536
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+add-clean-target.patch
diff --git a/debian/rules b/debian/rules
index acfc5fe..0bc0bb4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,7 @@
%:
dh $@ --buildsystem=ruby --with ruby
+
+clean:
+ dh clean --buildsystem=ruby --with ruby
+ rm -rf ext/binding_of_caller/Makefile
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-binding-of-caller.git
More information about the Pkg-ruby-extras-commits
mailing list