Commit 8df5db55 authored by Iustin Pop's avatar Iustin Pop
Browse files

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.
parent 38f63ae6
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 ; \
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}" \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment