File: help2man

package info (click to toggle)
soundscaperenderer 0.6.0%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,148 kB
  • sloc: cpp: 36,430; sh: 4,522; makefile: 847; ansic: 762; javascript: 593; python: 57
file content (52 lines) | stat: -rwxr-xr-x 872 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/sh

INDIR=$1
OUTDIR=$2
SUFFIX=$3

if [ ! -d "${INDIR}" ]; then
 exit 1
fi

mkdir -p "${OUTDIR}"

for i in "${INDIR}"/ssr-* "${INDIR}"/ssr
do
 if [ -x "${i}" ]; then
  fun=${i##*/}
  case "${fun}" in
      ssr-aap)
	  DESCR=" (ambisonics amplitude panning)"
	  ;;
      ssr-binaural)
	  DESCR=" (binaural)"
	  ;;
      ssr-brs)
	  DESCR=" (binaural room synthesis)"
	  ;;
      ssr-dca)
	  DESCR=" (distance compensated ambisonics)"
	  ;;
      ssr-nfc-hoa)
	  DESCR=" (near-field compensated higher-order-ambisonics)"
	  ;;
      ssr-vbap)
	  DESCR=" (vector-based amplitude panning)"
	  ;;
      ssr-wfs)
	  DESCR=" (wave field synthesis)"
	  ;;
      ssr-generic)
	  DESCR=" (generic renderer)"
	  ;;
      ssr)
	  DESCR=""
	  ;;
  esac


  o=${OUTDIR}/${fun}${SUFFIX}
  #echo "$i -> $o : ${DESCR}"
  help2man -N -n "SoundScape Renderer${DESCR}" $i > $o
 fi
done