[Lemon-commits] [lemon_svn] ladanyi: r2840 - hugo/trunk/doc

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 21:50:44 CET 2006


Author: ladanyi
Date: Tue Jul 11 17:50:19 2006
New Revision: 2840

Modified:
   hugo/trunk/doc/Makefile.am

Log:
Do not install the documentation if configure was called with --disable-doc.

Modified: hugo/trunk/doc/Makefile.am
==============================================================================
--- hugo/trunk/doc/Makefile.am	(original)
+++ hugo/trunk/doc/Makefile.am	Tue Jul 11 17:50:19 2006
@@ -48,6 +48,8 @@
 doc/html:
 	$(MAKE) $(AM_MAKEFLAGS) doc-clean
 
+if WANT_DOC
+
 install-data-local: doc/html
 	@$(NORMAL_INSTALL)
 	$(mkinstalldirs) $(DESTDIR)$(htmldir)
@@ -65,4 +67,6 @@
 	  rm -f $(DESTDIR)$(htmldir)/$$f; \
 	done
 
+endif WANT_DOC
+
 .PHONY: doc doc-clean



More information about the Lemon-commits mailing list