[med-svn] [seer] 01/03: Fix usage advise of scripts

Andreas Tille tille at debian.org
Thu Mar 23 13:13:40 UTC 2017


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

tille pushed a commit to branch master
in repository seer.

commit a8a8e4decfc34bb7cebca376d52264c993d30341
Author: Andreas Tille <tille at debian.org>
Date:   Thu Mar 23 14:12:18 2017 +0100

    Fix usage advise of scripts
---
 debian/changelog | 6 ++++++
 debian/rules     | 5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e15f150..2d4b66c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+seer (1.1.2-3) UNRELEASED; urgency=medium
+
+  * Better documentation of scripts
+
+ -- Andreas Tille <tille at debian.org>  Thu, 23 Mar 2017 11:45:37 +0100
+
 seer (1.1.2-2) unstable; urgency=medium
 
   * Install all available scripts in scripts/ dir into binary package
diff --git a/debian/rules b/debian/rules
index 62ff94b..8ac4718 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,8 +14,11 @@ CMAKE_EXTRA_FLAGS += -DARMA_USE_HDF5=1
 override_dh_auto_install:
 	dh_auto_install -- PREFIX=$(CURDIR)/debian/$(DEBPKGNAME)/usr
 	for pl in scripts/*.pl ; do \
-	    cp -a $${pl} $(CURDIR)/debian/$(DEBPKGNAME)/usr/bin/`basename $${pl} .pl` ; \
+	    plbase=`basename $${pl} .pl` ; \
+	    sed "s+Usage: ./$${plbase}.pl+Usage: $${plbase}+" $${pl} > $(CURDIR)/debian/$(DEBPKGNAME)/usr/bin/$${plbase} ; \
 	done
+	# Fix broken usage hint:
+	sed -i "s+Usage: ./hits_to_matrix.pl+Usage: reformat_output+" $(CURDIR)/debian/$(DEBPKGNAME)/usr/bin/reformat_output
 
 %:
 	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/seer.git



More information about the debian-med-commit mailing list