[SCM] jacktrip/master: Filtered input to help2man for nicer manpages
zmoelnig-guest at users.alioth.debian.org
zmoelnig-guest at users.alioth.debian.org
Wed Feb 5 13:28:02 UTC 2014
The following commit has been merged in the master branch:
commit b0130546782884bbbc851ba18c9e3acba1839f8e
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Wed Feb 5 13:31:14 2014 +0100
Filtered input to help2man for nicer manpages
diff --git a/debian/jacktrip-help2man b/debian/jacktrip-help2man
new file mode 100755
index 0000000..d88caf1
--- /dev/null
+++ b/debian/jacktrip-help2man
@@ -0,0 +1,10 @@
+#!/bin/sh
+JACKTRIP=$(pwd)/src/jacktrip
+case "$1" in
+ -h|--help)
+ ${JACKTRIP} -h 2>&1 | sed '0,/^-[-]*-$/d'
+ ;;
+ *)
+ ${JACKTRIP} $@
+ ;;
+esac
diff --git a/debian/rules b/debian/rules
index c2ea282..580c48c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,7 +41,7 @@ DEB_COPYRIGHT_CHECK_IGNORE_REGEX = documentation/img/.*|debian/(changelog|copyri
build/jacktrip::
doxygen jacktrip_doxygen
- help2man -N -n "A System for High-Quality Audio Network Streaming" src/jacktrip > jacktrip.1
+ help2man -N -n "high-quality system for audio network performances" debian/jacktrip-help2man > jacktrip.1
clean::
rm -rf WWW
--
jacktrip packaging
More information about the pkg-multimedia-commits
mailing list