[libcss-lessp-perl] 15/17: Strip extension from executable.
Jonas Smedegaard
dr at jones.dk
Wed Aug 12 21:47:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libcss-lessp-perl.
commit f2ad1d76c1aa9776380d649b5c0dace05b3d565f
Author: Jonas Smedegaard <dr at jones.dk>
Date: Wed Aug 12 23:24:11 2015 +0200
Strip extension from executable.
---
debian/control.in | 2 +-
debian/rules | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/control.in b/debian/control.in
index a6d649f..6a6969e 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -19,6 +19,6 @@ Description: LESS for Perl
CSS::LESSp provides helper function which allows parsing and compiling
of LESS files into CSS.
.
- This package also provides binary lessp.pl which can be used to compile
+ This package also provides binary lessp which can be used to compile
LESS files into CSS. Advantage of having it in perl is it is extremely
fast compared to ruby-based less.
diff --git a/debian/rules b/debian/rules
index 2195ee2..5c88c6e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,3 +31,8 @@ DEB_UPSTREAM_TARBALL_MD5 = 3d454551f3d9f00372c3508f4d7317ed
# Build-depend unversioned on debhelper
# TODO: Drop when adopted in cdbs
CDBS_BUILD_DEPENDS_rules_debhelper_v9 = debhelper
+
+# Strip extension from executable
+binary-post-install/$(pkg)::
+ mv $(cdbs_curdestdir)usr/bin/lessp.pl \
+ $(cdbs_curdestdir)usr/bin/lessp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcss-lessp-perl.git
More information about the Pkg-perl-cvs-commits
mailing list