From: g0dil Date: Wed, 30 Jan 2008 12:34:10 +0000 (+0000) Subject: debian: Move documentation into 'html' subdir X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=0860c497f0c9daaeec9ef2202e2370484cd6959a;p=senf.git debian: Move documentation into 'html' subdir debian: Clean up documtentation removing unneeded files git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@646 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/debian/index.html b/debian/index.html index fcf4f9e..6260acf 100644 --- a/debian/index.html +++ b/debian/index.html @@ -2,13 +2,13 @@ - + SENF - Simple and Extensible Network Framework

SENF - Simple and Extensible Network Framework

- SENF Manual + SENF Manual

diff --git a/debian/rules b/debian/rules index a99bd64..911d1b8 100755 --- a/debian/rules +++ b/debian/rules @@ -78,8 +78,11 @@ build-indep-stamp: configure-stamp scons fixlinks scons $(destdir)/usr/include $(destdir)/usr/share/doc $(SCONS_OPTIONS) \ PREFIX='$(destdir)/usr' \ - DOCINSTALLDIR='$$PREFIX/share/doc/libsenf-doc' \ + DOCINSTALLDIR='$$PREFIX/share/doc/libsenf-doc/html' \ INCLUDEINSTALLDIR='$$PREFIX/include/senf' +# Remove all the files not really needed from the documentation directories + find $(destdir)/usr/share/doc/libsenf-doc/html \ + -type f ! -regex '.*\.\(html\|css\|png\|php\|idx\|tag\)' | xargs rm -f # We need to install the example sourcecode find Examples \( -name "*.hh" -o -name "*.cc" \) -printf "%P\n" | \ while read src; do \