Commit cce5da57 authored by simonmar's avatar simonmar
Browse files

[project @ 2003-01-14 13:17:43 by simonmar]

Clean up properly after generating Haddock docs.
parent 0877011a
# -----------------------------------------------------------------------------
# $Id: package.mk,v 1.20 2002/12/12 13:28:35 simonmar Exp $
# $Id: package.mk,v 1.21 2003/01/14 13:17:43 simonmar Exp $
ifneq "$(PACKAGE)" ""
......@@ -161,6 +161,8 @@ HTML_DOC = $(HTML_DIR)/index.html
ifneq "$(HS_PPS)" ""
CLEAN_FILES += $(HS_PPS) $(addsuffix .tmp, $(basename $(HS_PPS)))
ifeq "$(HADDOCK)" ""
html ::
@echo Haddock must be installed in order to build HTML library documentation.
......@@ -170,6 +172,9 @@ endif
html :: $(HTML_DOC)
extraclean ::
$(RM) -rf $(HTML_DIR)
$(HTML_DOC) : $(HS_PPS)
@$(INSTALL_DIR) $(HTML_DIR)
$(HADDOCK) $(HADDOCK_OPTS) -h -o $(HTML_DIR) $(HS_PPS) \
......
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