diff --git a/gosa-core/dh-make-gosa b/gosa-core/dh-make-gosa
index e1a826234eb0b2be34509d6b1c2f86f12bd5a688..cc614316a56d7ab1fe6aa648884de17715d2a985 100755 (executable)
--- a/gosa-core/dh-make-gosa
+++ b/gosa-core/dh-make-gosa
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")
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
for dep in $TDEPENDS; do
PL_DEPENDS="gosa-plugin-$dep, $PL_DEPENDS"
done
if [ -d contrib ]; then
echo "contrib /usr/share/doc/gosa-plugin-$PL_NAME" >> debian/install
fi
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
if [ -d html ]; then
for i in html/*; do
echo "$i /usr/share/gosa/html/plugins/$PL_NAME" >> debian/install
dh_builddeb
binary: binary-indep
dh_builddeb
binary: binary-indep
+
+binary-arch:
.PHONY: build clean binary-indep binary install configure
EOF
.PHONY: build clean binary-indep binary install configure
EOF