This fixes the doc issue which exists since the addition of hbal. Now
make doc makes sense again.
-HSRCS := $(wildcard src/*.hs)
+HPROGS = hbal hn1
+HSRCS := $(filter-out $(HPROGS), $(wildcard src/*.hs))
HDDIR = apidoc
# Haskell rules
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)