3 # Reads debian/dirs, creates the directories listed there there
5 PATH=debian:$PATH:/usr/lib/debhelper
8 for PACKAGE in $DH_DOPACKAGES; do
12 if [ ! -d $TMP/usr/doc/$PACKAGE ]; then
13 doit "install -d $TMP/usr/doc/$PACKAGE"
18 if [ -e debian/${EXT}dirs ]; then
19 dirs=`tr "\n" " " < debian/${EXT}dirs`
22 if [ "$PACKAGE" = "$MAINPACKAGE" -a "$*" ]; then
27 # Check to see if any of the dirs are absolute.
28 for dir in "$dirs" ; do
29 if expr "$dir" : "/" >/dev/null ; then
30 error "Absolute directory name \"$dir\" specified."
34 verbose_echo "cd $TMP && install -d $dirs && cd ../.."