Skip to content

Instantly share code, notes, and snippets.

@metaperl
Created July 28, 2010 15:10
Show Gist options
  • Select an option

  • Save metaperl/494825 to your computer and use it in GitHub Desktop.

Select an option

Save metaperl/494825 to your computer and use it in GitHub Desktop.
#!/bin/bash -x
VERS="8.1.0"
DATE="2006-10-22"
# ----- configure build here
# specify how to invoke the asciidoc binary
ASCIIDOC="python ../../asciidoc.py"
#ASCIIDOC=asciidoc.py
# Leave the desired layout uncommented.
LAYOUT=layout1 # Tables based layout.
#LAYOUT=layout2 # CSS based simulated frames layout.
# Specify the suffix for asciidoc files
ADOC=adoc
# ---- no need to edit below
ASCIIDOC_HTML="$ASCIIDOC --unsafe --backend=xhtml11 --conf-file=${LAYOUT}.conf --attribute icons --attribute iconsdir=./images/icons --attribute=badges --attribute=revision=$VERS --attribute=date=$DATE"
$ASCIIDOC_HTML -a index-only index.$ADOC
$ASCIIDOC_HTML -a toc -a numbered userguide.$ADOC
$ASCIIDOC_HTML -d manpage manpage.$ADOC
$ASCIIDOC_HTML downloads.$ADOC
$ASCIIDOC_HTML latex-backend.$ADOC
$ASCIIDOC_HTML README.$ADOC
$ASCIIDOC_HTML INSTALL.$ADOC
$ASCIIDOC_HTML CHANGELOG.$ADOC
$ASCIIDOC_HTML README-website.$ADOC
$ASCIIDOC_HTML support.$ADOC
$ASCIIDOC_HTML source-highlight-filter.$ADOC
$ASCIIDOC_HTML music-filter.$ADOC
$ASCIIDOC_HTML a2x.1.$ADOC
$ASCIIDOC_HTML asciimath.$ADOC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment