From 8df5db55112bae8a371ec3778da47a9649dca858 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Sun, 22 Feb 2009 13:20:00 +0100 Subject: [PATCH] Don't build documentation for the Main modules This fixes the doc issue which exists since the addition of hbal. Now make doc makes sense again. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a4ef1348d..a5c06ccd9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -HSRCS := $(wildcard src/*.hs) +HPROGS = hbal hn1 +HSRCS := $(filter-out $(HPROGS), $(wildcard src/*.hs)) HDDIR = apidoc # Haskell rules @@ -17,9 +18,8 @@ doc: README.html HsColour -css -anchor \ $$file > $(HDDIR)/src/`basename $$file .hs`.html ; \ done - ln -sf hn1.html $(HDDIR)/src/Main.html haddock --odir $(HDDIR) --html --ignore-all-exports \ - -t hn1 -p haddock-prologue \ + -t htools -p haddock-prologue \ --source-module="src/%{MODULE/.//}.html" \ --source-entity="src/%{MODULE/.//}.html#%{NAME}" \ $(HSRCS) -- GitLab