[mlpack] 05/09: prefix executables with mlpack- to avoid namespace pollution and collisions
Barak A. Pearlmutter
barak+git at cs.nuim.ie
Sat Apr 12 07:35:06 UTC 2014
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch master
in repository mlpack.
commit 6b64e9aa3eb16242cee41603ba14842185c52513
Author: Barak A. Pearlmutter <barak+git at cs.nuim.ie>
Date: Mon Apr 7 21:29:56 2014 +0100
prefix executables with mlpack- to avoid namespace pollution and collisions
---
debian/rules | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/debian/rules b/debian/rules
index 35785dd..0478258 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,5 +15,17 @@ override_dh_auto_build:
override_dh_auto_test:
@echo do not ask do not tell do not test
+override_dh_install:
+ dh_install
+ for d in \
+ debian/mlpack-bin/usr/bin \
+ debian/mlpack-bin/usr/share/man/man1; \
+ do \
+ (cd $$d && \
+ for f in *; do \
+ mv --verbose $${f} mlpack-$${f}; \
+ done); \
+ done
+
override_dh_compress:
dh_compress -Xrefman.pdf -Xdoc/html/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git
More information about the debian-science-commits
mailing list