diff --git a/debian/rules b/debian/rules
index 67aa77204391330d5c5ac479a17bdc555bea5834..74058b6dd4fca925a4e96bf9fdda906483a4b9dd 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
-find debian/gosa -type d -name ".svn" -exec rm -rf {} \; &> /dev/null || /bin/true
-cp -R debian/gosa/usr/share/gosa/contrib/* debian/gosa/usr/share/doc/gosa/contrib/
-cp debian/gosa/usr/share/gosa/contrib/openldap/go*.schema debian/gosa-schema/etc/ldap/schema
-find debian/gosa -type d -name ".svn" -exec rm -rf {} \; &> /dev/null || /bin/true
-cp -R debian/gosa/usr/share/gosa/contrib/* debian/gosa/usr/share/doc/gosa/contrib/
-cp debian/gosa/usr/share/gosa/contrib/openldap/go*.schema debian/gosa-schema/etc/ldap/schema
- -mkdir debian/gosa/usr/share/doc/gosa
- -mkdir debian/gosa/usr/share/gosa/bin
- -mkdir -p debian/gosa-schema/usr/share/doc/gosa-schema
-cp -R INSTALL debian/gosa/usr/share/doc/gosa/README.INSTALL
-gzip -c9 debian/changelog > debian/gosa/usr/share/doc/gosa/changelog.Debian.gz
-cp -R INSTALL debian/gosa/usr/share/doc/gosa/README.INSTALL
-gzip -c9 debian/changelog > debian/gosa/usr/share/doc/gosa/changelog.Debian.gz
+ -mkdir -p debian/gosa-schema/usr/share/doc/gosa-schema
-gzip -c9 debian/changelog > debian/gosa-schema/usr/share/doc/gosa-schema/changelog.Debian.gz
-gzip -c9 debian/changelog > debian/gosa-schema/usr/share/doc/gosa-schema/changelog.Debian.gz
+ -mkdir -p debian/gosa-help-de/usr/share/doc/gosa-help-de
+ -gzip -c9 debian/changelog > debian/gosa-help-de/usr/share/doc/gosa-help-de/changelog.Debian.gz
+ -mkdir -p debian/gosa-help-en/usr/share/doc/gosa-help-en
+ -gzip -c9 debian/changelog > debian/gosa-help-en/usr/share/doc/gosa-help-en/changelog.Debian.gz
+ -mkdir -p debian/gosa-help-fr/usr/share/doc/gosa-help-fr
+ -gzip -c9 debian/changelog > debian/gosa-help-fr/usr/share/doc/gosa-help-fr/changelog.Debian.gz
+ -mkdir -p debian/gosa-help-nl/usr/share/doc/gosa-help-nl
+ -gzip -c9 debian/changelog > debian/gosa-help-nl/usr/share/doc/gosa-help-nl/changelog.Debian.gz
-gzip -c9 Changelog > debian/gosa/usr/share/doc/gosa/changelog.gz
-cp AUTHORS TODO README FAQ README.safemode DEVEL debian/gosa/usr/share/doc/gosa/
-rm debian/gosa/usr/share/gosa/README debian/gosa/usr/share/gosa/INSTALL
-gzip -c9 Changelog > debian/gosa/usr/share/doc/gosa/changelog.gz
-cp AUTHORS TODO README FAQ README.safemode DEVEL debian/gosa/usr/share/doc/gosa/
-rm debian/gosa/usr/share/gosa/README debian/gosa/usr/share/gosa/INSTALL
-mv debian/gosa/usr/share/gosa/bin/* debian/gosa/usr/bin
-rm -rf debian/gosa/usr/share/gosa/bin
-rm -rf debian/gosa/usr/share/doc/gosa/marketing
-mv debian/gosa/usr/share/gosa/bin/* debian/gosa/usr/bin
-rm -rf debian/gosa/usr/share/gosa/bin
-rm -rf debian/gosa/usr/share/doc/gosa/marketing
- -find debian/gosa -type f -exec chmod -x {} \;
+ -find debian/gosa -type f -exec chmod -x {} \; &> /dev/null
-chmod +x debian/gosa/usr/bin/mkntpasswd
-rm -rf debian/gosa/usr/share/gosa/doc/guide/user/*/lyx-source
-rm -rf debian/gosa/usr/share/gosa/doc/guide/admin
-chmod +x debian/gosa/usr/bin/mkntpasswd
-rm -rf debian/gosa/usr/share/gosa/doc/guide/user/*/lyx-source
-rm -rf debian/gosa/usr/share/gosa/doc/guide/admin
-cp -R debian/gosa/usr/share/gosa/doc/* debian/gosa/usr/share/doc/gosa
-rm -rf debian/gosa/usr/share/gosa/contrib
-rm -rf debian/gosa/usr/share/gosa/locale/en
-cp -R debian/gosa/usr/share/gosa/doc/* debian/gosa/usr/share/doc/gosa
-rm -rf debian/gosa/usr/share/gosa/contrib
-rm -rf debian/gosa/usr/share/gosa/locale/en
- -chmod +x debian/gosa/usr/lib/gosa/*
-rm -rf debian/gosa/usr/share/gosa/gen_locale.sh
-rm -rf debian/gosa/usr/share/gosa/gen_locale.sh
+ -rm -rf debian/gosa/usr/share/gosa/gen_online_help.sh
-rm -rf debian/gosa/usr/share/gosa/gen_function_list.php
-rm -rf debian/gosa/usr/share/gosa/update.sh
-rm -rf debian/gosa/usr/share/gosa/gen_function_list.php
-rm -rf debian/gosa/usr/share/gosa/update.sh
+ -rm -rf debian/gosa/usr/share/doc/gosa/guide*
-mkdir -p debian/gosa/usr/share/php/smarty/libs/plugins
-cp include/smarty/plugins/block.t.php debian/gosa/usr/share/php/smarty/libs/plugins
-rm -rf debian/gosa/usr/share/gosa/include/smarty
-mkdir -p debian/gosa/usr/share/php/smarty/libs/plugins
-cp include/smarty/plugins/block.t.php debian/gosa/usr/share/php/smarty/libs/plugins
-rm -rf debian/gosa/usr/share/gosa/include/smarty
dh_installdocs
dh_installcron
dh_installexamples
dh_installdocs
dh_installcron
dh_installexamples
-# dh_undocumented
- dh_installman
+ dh_installman debian/mkntpasswd.1
dh_link
dh_strip
dh_link
dh_strip
-# dh_compress
+ dh_compress --exclude=gosa.conf
dh_fixperms
dh_perl
dh_installdeb
dh_fixperms
dh_perl
dh_installdeb