Do not install the documentation if configure was called with --disable-doc.
authorladanyi
Tue, 11 Jul 2006 15:50:19 +0000
changeset 21271d43a276fc26
parent 2126 2c8adbee9fa6
child 2128 509846825ddf
Do not install the documentation if configure was called with --disable-doc.
doc/Makefile.am
     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