]> git.sur5r.net Git - i3/i3/blob - travis/docs.sh
travis/cleanup-bintray: use dpkg --compare-versions (#2453)
[i3/i3] / travis / docs.sh
1 #!/bin/sh
2
3 set -e
4 set -x
5
6 make clean-docs docs ASCIIDOC="asciidoc -a linkcss -a stylesdir=http://i3wm.org/css -a scriptsdir=http://i3wm.org/js --backend=xhtml11 -f docs/asciidoc-git.conf"
7 ./docs/i3-pod2html i3-dmenu-desktop man/i3-dmenu-desktop.html
8 ./docs/i3-pod2html i3-save-tree man/i3-save-tree.html
9 for file in $(sed 's/\.1$/.man/g' debian/i3-wm.manpages)
10 do
11         [ -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"
12 done
13
14 mkdir -p deb/COPY-DOCS
15
16 cp $(tr "\n" ' ' < debian/i3-wm.docs) deb/COPY-DOCS/
17 cp $(sed 's/\.1$/.html/g' debian/i3-wm.manpages | tr "\n" ' ') deb/COPY-DOCS/