X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=debian%2Frules;h=911d1b80dd24595f5cca79beb8d56b5e7f315721;hb=0860c497f0c9daaeec9ef2202e2370484cd6959a;hp=a99bd645ab08c94fc4ec23e406d2a68ed5b1bde6;hpb=ab9628f3640d9d00cfd5eb2376d48650946be22d;p=senf.git 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 \