#!/bin/sh MANDIR=debian mkdir -p $MANDIR VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'` AUTHOR=".SH AUTHOR\nThis manpage was written by $DEBFULLNAME for the Debian distribution and can be used for any other usage of the program. " progname=clonalorigin-gui help2man --no-info --no-discard-stderr --help-option=" -h" \ --name='GUI for clonalorigin' \ --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1 echo $AUTHOR >> $MANDIR/${progname}.1 progname=warg help2man --no-info --no-discard-stderr --help-option="-h" \ --name='inference of homologous recombination in bacteria using whole genome sequences' \ --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1 echo $AUTHOR >> $MANDIR/${progname}.1 cat <