adjust type linking script

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-10-30 07:33:07 +01:00
parent cbb34de1b2
commit e0bdcea78b

4
build
View file

@ -78,8 +78,8 @@ case "$1" in
;; ;;
mantype) mantype)
for mansrc in conf/type/*/man.text; do for mansrc in cdist/conf/type/*/man.text; do
dst="$(echo $mansrc | sed -e 's;conf/;cdist-;' -e 's;/;;' -e 's;/man;;' -e 's;^;docs/man/man7/;')" dst="$(echo $mansrc | sed -e 's;cdist/conf/;cdist-;' -e 's;/;;' -e 's;/man;;' -e 's;^;docs/man/man7/;')"
ln -sf "../../../$mansrc" "$dst" ln -sf "../../../$mansrc" "$dst"
done done
;; ;;