travis/docs.sh: call asciidoc directly
…instead of the no longer existing docs-clean and docs targets.
This commit is contained in:
parent
758fc7d331
commit
b10eb0c3e6
|
@ -3,9 +3,14 @@
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
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"
|
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)
|
||||||
|
done
|
||||||
./docs/i3-pod2html i3-dmenu-desktop man/i3-dmenu-desktop.html
|
./docs/i3-pod2html i3-dmenu-desktop man/i3-dmenu-desktop.html
|
||||||
./docs/i3-pod2html i3-save-tree man/i3-save-tree.html
|
./docs/i3-pod2html i3-save-tree man/i3-save-tree.html
|
||||||
|
./docs/i3-pod2html build/testcases/lib/i3test.pm docs/lib-i3test.html
|
||||||
|
./docs/i3-pod2html testcases/lib/i3test/Test.pm docs/lib-i3test-test.html
|
||||||
for file in $(sed 's/\.1$/.man/g' debian/i3-wm.manpages)
|
for file in $(sed 's/\.1$/.man/g' debian/i3-wm.manpages)
|
||||||
do
|
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"
|
[ -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"
|
||||||
|
|
Loading…
Reference in New Issue