Do not install the documentation if configure was called with --disable-doc.
1.1 --- a/doc/Makefile.am Tue Jul 11 15:42:15 2006 +0000
1.2 +++ b/doc/Makefile.am Tue Jul 11 15:50:19 2006 +0000
1.3 @@ -48,6 +48,8 @@
1.4 doc/html:
1.5 $(MAKE) $(AM_MAKEFLAGS) doc-clean
1.6
1.7 +if WANT_DOC
1.8 +
1.9 install-data-local: doc/html
1.10 @$(NORMAL_INSTALL)
1.11 $(mkinstalldirs) $(DESTDIR)$(htmldir)
1.12 @@ -65,4 +67,6 @@
1.13 rm -f $(DESTDIR)$(htmldir)/$$f; \
1.14 done
1.15
1.16 +endif WANT_DOC
1.17 +
1.18 .PHONY: doc doc-clean