From: IOhannes m zmölnig Date: Wed, 5 Feb 2014 12:31:14 +0000 (+0100) Subject: Filtered input to help2man for nicer manpages X-Git-Tag: archive/raspbian/2.5.1+ds-1+rpi1~1^2~341 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b0130546782884bbbc851ba18c9e3acba1839f8e;p=jacktrip.git 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