Don't build latex docs by default
authorIan Lynagh <igloo@earth.li>
Sat, 6 Sep 2008 18:49:12 +0000 (18:49 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 6 Sep 2008 18:49:12 +0000 (18:49 +0000)
"LATEX_DOCS = YES" enables them

docs/ext-core/Makefile
mk/config.mk.in

index 55eca3f..b1baf4c 100644 (file)
@@ -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
 
index 38ce86b..9034773 100644 (file)
@@ -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@