From: Ian Lynagh Date: Sat, 6 Sep 2008 18:49:12 +0000 (+0000) Subject: Don't build latex docs by default X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=f38871fdd92e466cbbc7eb08e226c4213bcbd7d6 Don't build latex docs by default "LATEX_DOCS = YES" enables them --- diff --git a/docs/ext-core/Makefile b/docs/ext-core/Makefile index 55eca3f..b1baf4c 100644 --- a/docs/ext-core/Makefile +++ b/docs/ext-core/Makefile @@ -1,11 +1,15 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk +ifeq "$(LATEX_DOCS)" "YES" all: ps install-docs: -mkdir $(docdir)/ext-core cp core.ps.gz $(docdir)/ext-core/ +else +all: +endif # General makefile for Latex stuff diff --git a/mk/config.mk.in b/mk/config.mk.in index 38ce86b..9034773 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -188,6 +188,9 @@ XMLDocWays= # Should we build haddock docs? HADDOCK_DOCS = YES +# Should we build latex docs? +LATEX_DOCS = NO + # Mac OS X deployment target (to cross-compile for older OS versions) # MACOSX_DEPLOYMENT_VERSION = @MACOSX_DEPLOYMENT_VERSION@