update to match new location of cdist-reference.text
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
659bb1d1ac
commit
2d30dd6aad
1 changed files with 2 additions and 3 deletions
5
build.sh
5
build.sh
|
@ -57,12 +57,12 @@ case "$1" in
|
||||||
for src in ${MANDIR}/man${section}/*.text; do
|
for src in ${MANDIR}/man${section}/*.text; do
|
||||||
manpage="${src%.text}.$section"
|
manpage="${src%.text}.$section"
|
||||||
if [ ! -f "$manpage" -o "$manpage" -ot "$src" ]; then
|
if [ ! -f "$manpage" -o "$manpage" -ot "$src" ]; then
|
||||||
echo "Compiling manpage for $src"
|
echo "Compiling man page for $src"
|
||||||
$A2XM "$src"
|
$A2XM "$src"
|
||||||
fi
|
fi
|
||||||
htmlpage="${src%.text}.html"
|
htmlpage="${src%.text}.html"
|
||||||
if [ ! -f "$htmlpage" -o "$htmlpage" -ot "$src" ]; then
|
if [ ! -f "$htmlpage" -o "$htmlpage" -ot "$src" ]; then
|
||||||
echo "Compiling html for $src"
|
echo "Compiling html page for $src"
|
||||||
$A2XH "$src"
|
$A2XH "$src"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -99,7 +99,6 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
clean)
|
clean)
|
||||||
rm -f ${MANDIR}/cdist-reference.text
|
|
||||||
find "${MANDIR}" -mindepth 2 -type l \
|
find "${MANDIR}" -mindepth 2 -type l \
|
||||||
-o -name "*.1" \
|
-o -name "*.1" \
|
||||||
-o -name "*.7" \
|
-o -name "*.7" \
|
||||||
|
|
Loading…
Reference in a new issue