Skip to content

Commit 6c4db72

Browse files
authored
Merge pull request #154 from andreasabel/issue128
[ #128 ] Build instructions for the doc; xsl path for brew
2 parents 574ec8c + c729849 commit 6c4db72

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

doc/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Building the Alex documentation
2+
3+
In this directory, run:
4+
```
5+
autoconf
6+
./configure
7+
make
8+
```
9+
On success, you should find the documentation in the
10+
subdirectory `alex/`.
11+
12+
## Troubleshooting
13+
14+
Running `./configure` might report:
15+
```
16+
checking for DocBook XSL stylesheet directory... no
17+
configure: WARNING: cannot find DocBook XSL stylesheets, you will not be able to build the documentation
18+
```
19+
Extending the list `FP_DIR_DOCBOOK_XSL` in file `configure.ac` might
20+
help. E.g., on Mac OS X with homebrew-installed `docbook`, the path
21+
```
22+
/usr/local/Cellar/docbook-xsl/*/docbook-xsl
23+
```
24+
worked. Inside this directory (pattern), `configure` looks for a file
25+
`/html/docbook.xsl`, see `aclocal.m4`.

doc/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ AC_CONFIG_SRCDIR([Makefile])
55

66
dnl ** check for DocBook toolchain
77
FP_CHECK_DOCBOOK_DTD
8-
FP_DIR_DOCBOOK_XSL([/usr/share/xml/docbook/stylesheet/nwalsh/current /usr/share/xml/docbook/stylesheet/nwalsh /usr/share/sgml/docbook/docbook-xsl-stylesheets* /usr/share/sgml/docbook/xsl-stylesheets* /opt/kde?/share/apps/ksgmltools2/docbook/xsl /usr/share/docbook-xsl /usr/share/sgml/docbkxsl /usr/local/share/xsl/docbook /sw/share/xml/xsl/docbook-xsl /usr/share/xml/docbook/xsl-stylesheets*])
8+
FP_DIR_DOCBOOK_XSL([/usr/local/Cellar/docbook-xsl/*/docbook-xsl /usr/share/xml/docbook/stylesheet/nwalsh/current /usr/share/xml/docbook/stylesheet/nwalsh /usr/share/sgml/docbook/docbook-xsl-stylesheets* /usr/share/sgml/docbook/xsl-stylesheets* /opt/kde?/share/apps/ksgmltools2/docbook/xsl /usr/share/docbook-xsl /usr/share/sgml/docbkxsl /usr/local/share/xsl/docbook /sw/share/xml/xsl/docbook-xsl /usr/share/xml/docbook/xsl-stylesheets*])
99

1010
AC_PATH_PROG(DbLatexCmd,dblatex)
1111

0 commit comments

Comments
 (0)