mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-17 21:48:19 +00:00
19 lines
552 B
Bash
Executable file
19 lines
552 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# You need asciidoc installed
|
|
# Debian/Ubuntu: sudo apt install asciidoc
|
|
# http://asciidoc.org/
|
|
|
|
set -ex
|
|
|
|
# To generate all possible formats uncomment this and be sure to have all the needed tools:
|
|
: << 'EOF'
|
|
for FORMAT in 'epub' 'htmlhelp' 'manpage' 'pdf' 'text' 'xhtml' 'dvi' 'ps' 'tex' 'docbook'
|
|
do
|
|
a2x --doctype manpage --format $FORMAT DDNet.adoc
|
|
a2x --doctype manpage --format $FORMAT DDNetServer.adoc
|
|
done
|
|
EOF
|
|
|
|
a2x --doctype manpage --format manpage DDNet.adoc
|
|
a2x --doctype manpage --format manpage DDNetServer.adoc |