Code

Updated department listing in class_listing.inc
[gosa.git] / gosa-core / dh-make-gosa
index e1a826234eb0b2be34509d6b1c2f86f12bd5a688..cc614316a56d7ab1fe6aa648884de17715d2a985 100755 (executable)
@@ -48,6 +48,7 @@ load_dsc() {
     PL_NAME=$(sed -n 's/"//g;s/^name\s*=\s*\(.*\)$/\1/p' "$1")
     PL_VERSION=$(sed -n 's/"//g;s/^version\s*=\s*\(.*\)$/\1/p' "$1")
     TDEPENDS=$(sed -n 's/"//g;s/^depends\s*=\s*\(.*\)$/\1/p' "$1")
+               TDEPENDS=$(echo $TDEPENDS | tr , " ")
     for dep in $TDEPENDS; do
       PL_DEPENDS="gosa-plugin-$dep, $PL_DEPENDS"
     done
@@ -209,6 +210,9 @@ echo "usr/share/gosa" > debian/dirs
 if [ -d contrib ]; then
        echo "contrib /usr/share/doc/gosa-plugin-$PL_NAME" >> debian/install
 fi
+if [ -d etc ]; then
+       echo "etc/* /etc/gosa" >> debian/install
+fi
 if [ -d html ]; then
        for i in html/*; do
                echo "$i /usr/share/gosa/html/plugins/$PL_NAME" >> debian/install
@@ -357,6 +361,8 @@ binary-indep: build install
        dh_builddeb
 
 binary: binary-indep
+
+binary-arch:
 .PHONY: build clean binary-indep binary install configure
 EOF