OSDN Git Service

Retire LDP man-pages repository
[linuxjm/LDP_man-pages.git] / tools / autogen_manpages.sh
diff --git a/tools/autogen_manpages.sh b/tools/autogen_manpages.sh
deleted file mode 100755 (executable)
index e6a938f..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-
-THRESH=80
-
-usage_exit() {
-    echo "Usage: $0 [-m minimum-perc]"
-    exit 1
-}
-
-while getopts hm: OPT; do
-    case $OPT in
-        m) THRESH=$OPTARG ;;
-        #h) usage_exit ;;
-        h|\?) usage_exit ;;
-    esac
-done
-
-SCRIPT_DIR=$(cd $(dirname $0) && pwd)
-
-VENV=$SCRIPT_DIR/../venv
-
-if ! which virtualenv > /dev/null; then
-    echo "virtualenv not found. Make sure to have virtualenv installed."
-    exit 2
-fi
-
-if [ ! -d $VENV ]; then
-    virtualenv $VENV
-fi
-
-. $VENV/bin/activate
-pip freeze | grep -q watchdog
-if [ $? -ne 0 ]; then
-    pip install watchdog
-fi
-
-# Ensure all pending manpage generations are done
-make
-
-echo 'Starting watchmedo to generate draft pages automatically...'
-echo "(minimum threshold is ${THRESH}%)"
-watchmedo shell-command \
-    --command "make THRESH=$THRESH; date; echo" \
-    --wait --recursive \
-    --pattern 'po4a/*/ja.po' \
-    po4a