for f in $(grep '\.html$' debian/i3-wm.docs | grep -v 'docs/refcard.html'| grep -v 'docs/lib-i3test')
do
asciidoc -a linkcss -a stylesdir=http://i3wm.org/css -a scriptsdir=http://i3wm.org/js --backend=xhtml11 -f docs/asciidoc-git.conf $(dirname $f)/$(basename $f .html)
for file in $(sed 's/\.1$/.man/g' debian/i3-wm.manpages)
do
[ -f "$file"]&& asciidoc -a linkcss -a stylesdir=http://i3wm.org/css -a scriptsdir=http://i3wm.org/js --backend=xhtml11 -f docs/asciidoc-git.conf "$file"