[DRE-commits] [ruby-beautify] 08/10: Use a symlink instead of duplicating a binary.

Tomasz Nitecki tnnn-guest at moszumanska.debian.org
Thu Apr 9 14:35:21 UTC 2015


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

tnnn-guest pushed a commit to branch master
in repository ruby-beautify.

commit 4653c7bc41b26c67da2474a01a902d887e3cee3b
Author: Tomasz Nitecki <tnnn at tnnn.pl>
Date:   Thu Apr 9 11:31:50 2015 +0200

    Use a symlink instead of duplicating a binary.
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 877f69c..04c8346 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,8 @@
 # Install upstream changelog
 override_dh_installchangelogs:
 	dh_installchangelogs WHATSNEW.md
+
+# Use a symlink instead of a duplicated binary
+override_dh_auto_install:
+	dh_auto_install
+	ln -sf ruby-beautify $(CURDIR)/debian/ruby-beautify/usr/bin/rbeautify

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



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