projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
560a676
)
Don't build latex docs by default
author
Ian Lynagh
<igloo@earth.li>
Sat, 6 Sep 2008 18:49:12 +0000
(18:49 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 6 Sep 2008 18:49:12 +0000
(18:49 +0000)
"LATEX_DOCS = YES" enables them
docs/ext-core/Makefile
patch
|
blob
|
history
mk/config.mk.in
patch
|
blob
|
history
diff --git
a/docs/ext-core/Makefile
b/docs/ext-core/Makefile
index
55eca3f
..
b1baf4c
100644
(file)
--- 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
(file)
--- 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@