summaryrefslogtreecommitdiffstats
path: root/tools/generate-manpages.bash
blob: 0bc13123d2e5da7fb32312681b6cd9f2a520689f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# This makes building our manpages easier and more consistent.

if [ ! -d man -o ! -d tools -o ! -d doc ]
then
    echo "Must be in the top-level bcfg2 source directory"
    exit 1
fi

sphinx-build -b man -D copyright="" doc man