Re: build-sys: minor issues

Ruediger Meier
2014-06-02T00:34:08Z

On Monday 02 June 2014, Ruediger Meier wrote:
> I have two minor issues with our build-sys:

Another issue:

3. --enable-gtk-doc does not work in out-of-tree build:

$ mkdir build
$ cd build
$ ../configure --enable-gtk-doc
$ make V=1
[...]
gtkdoc-mkhtml --path="/home/rudi/devel/util-linux/build/libmount/docs:/home/rudi/devel/util-linux/build/libmount/docs/xml:/home/rudi/devel/util-linux/build/../libmount/docs"
\
\
libmount \
/home/rudi/devel/util-linux/build/../libmount/docs/libmount-docs.xml
/home/rudi/devel/util-linux/build/libmount/docs/version.xml:1: parser
error : Start tag expected, '<' not found
2.24.900-7afc22
^
/home/rudi/devel/util-linux/build/../libmount/docs/libmount-docs.xml:59:
element include: XInclude error : could not
load /home/rudi/devel/util-linux/libmount/docs/xml/version.xml, and no
fallback was found
make[2]: *** [html-build.stamp] Error 6
make[2]: Leaving directory
`/home/rudi/devel/util-linux/build/libmount/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rudi/devel/util-linux/build'
make: *** [all] Error 2

BTW maybe we could consider about adding these docs to dist tarball to
not bother users with gtk-doc deps? (But I know then it's even more
complicated to rebuild cleanly in builddir when the existing one in
dist srcdir is outdated.)

cu,
Rudi