nextcloud-desktop/csync/csync_doc/makeman.sh
Klaas Freitag 05b81bc7d8 rename csync/doc to csync/csync_doc to satisfy cmake.
CMake throws a warning if there are two subdirs with the same name.
2014-01-20 16:19:30 +01:00

10 lines
230 B
Bash

#!/bin/bash
# Last Change: 2008-07-03 11:08:54
for f in $@; do
test "${f##*/}" = "CMakeLists.txt" && continue
echo -e "\e[32mCreating manpage ${f%.*}\e[0m"
a2x --doctype=manpage --format=manpage $f
rm -f ${f%.*}.xml
done