[debian] build the book with no auto-compression of book files (closes: #1906581)
Book content paths (html and rest) are now excluded from Debian compression step.
This will fix a documentation search issue on the website (doc.cubicweb.org)
Documentation build is now made optional since it can break for old distributions
and we don't want to block a new release of Cubicweb because of documentation issues.
/var/log/cubicweb/*.log {
weekly
missingok
rotate 10
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
if [ -x /usr/sbin/invoke-rc.d ]; then \
invoke-rc.d cubicweb reload > /dev/null 2>&1; \
else \
/etc/init.d/cubicweb reload > /dev/null 2>&1; \
fi; \
endscript
}