diff --git a/debian/libapache2-mod-qos.docs b/debian/libapache2-mod-qos.docs deleted file mode 100644 index 7e72e9f..0000000 --- a/debian/libapache2-mod-qos.docs +++ /dev/null @@ -1,4 +0,0 @@ -doc/*.gif -doc/favicon.ico -doc/index.html -doc/q*.html diff --git a/debian/rules b/debian/rules index 03b091a..5a54632 100755 --- a/debian/rules +++ b/debian/rules @@ -15,5 +15,14 @@ execute_after_dh_auto_build: -D_LARGEFILE64_SOURCE $(CPPFLAGS)" \ -lcrypto -DHAVE_OPENSSL -c apache2/mod_qos.c +execute_after_dh_auto_install: + # install documentation + mkdir -p debian/libapache2-mod-qos/usr/share/doc/libapache2-mod-qos + cp -a doc debian/libapache2-mod-qos/usr/share/doc/libapache2-mod-qos/html + + # remove unneeded files + rm -f debian/libapache2-mod-qos/usr/share/doc/libapache2-mod-qos/html/CHANGES.txt + rm -f debian/libapache2-mod-qos/usr/share/doc/libapache2-mod-qos/html/LICENSE.txt + override_dh_installchangelogs: dh_installchangelogs doc/CHANGES.txt