]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - man_util.bash
Convert writers to lopsub.
[paraslash.git] / man_util.bash
index 2a12737e9a3768fa66872249baa1def89f01e2c6..c98827866c62ce8b0618b1c348a14b3546ff748b 100755 (executable)
@@ -39,14 +39,6 @@ make_help()
                --set-package "para_$1" \
                < "$ggo"
 
-       if [[ "$target" == 'write' || "$target" == 'audiod' ]]; then
-               for module in $WRITERS; do
-                       ggo="$GGO_DIR/${module}_write.ggo"
-                       [[ ! -f "$ggo" ]] && continue
-                       printf "\nOptions for the $module writer"
-                       print_modhelp "$ggo"
-               done
-       fi
 }
 
 set -u
@@ -76,13 +68,9 @@ link="$HELP2MAN_DIR/para_$target"
 cl_opts=
 tempfiles=
 for cl in $COMMAND_LISTS; do
-       if [[ "$cl" =~ lsg ]]; then
-               tempfiles+=" $cl.man_util.$$"
-               sed -e '/^\.SH / s/$/]/1' -e '/^\.SH / s/^\.SH /[/1' "$cl" > "$cl.man_util.$$"
-               cl_opts+=" --include $cl.man_util.$$"
-       else
-               cl_opts+=" --include $cl"
-       fi
+       tempfiles+=" $cl.man_util.$$"
+       sed -e '/^\.SH / s/$/]/1' -e '/^\.SH / s/^\.SH /[/1' "$cl" > "$cl.man_util.$$"
+       cl_opts+=" --include $cl.man_util.$$"
 done
 
 # Create a symlink para_$target, pointing to this script. This hack is