Filtered input to help2man for nicer manpages
authorIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Wed, 5 Feb 2014 12:31:14 +0000 (13:31 +0100)
committerIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Wed, 5 Feb 2014 12:31:14 +0000 (13:31 +0100)
debian/jacktrip-help2man [new file with mode: 0755]
debian/rules

diff --git a/debian/jacktrip-help2man b/debian/jacktrip-help2man
new file mode 100755 (executable)
index 0000000..d88caf1
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+JACKTRIP=$(pwd)/src/jacktrip
+case "$1" in
+  -h|--help)
+    ${JACKTRIP} -h 2>&1 | sed '0,/^-[-]*-$/d'
+    ;;
+  *)
+    ${JACKTRIP} $@
+    ;;
+esac
index c2ea282caf92da9aa957e8a9f68dc1e91915111d..580c48c128fe0da4beb2825f5dd31bd91832bf90 100755 (executable)
@@ -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