diff options
author | simonmar <unknown> | 2002-04-25 14:40:05 +0000 |
---|---|---|
committer | simonmar <unknown> | 2002-04-25 14:40:05 +0000 |
commit | 6395502702ae2cf4f4ff969fce2b984e603f0f86 (patch) | |
tree | 69f42c9a9c3e49e0745a9d5937277b8587ebe79b /src/Makefile | |
parent | 044cea8101424a367d578d4943553e5b20bd6ec0 (diff) |
[haddock @ 2002-04-25 14:40:05 by simonmar]
- Add support for named chunks of documentation which can be
referenced from the export list.
- Copy the icon from $libdir to the destination in HTML mode.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile index 238009e0..fe2beb1e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -9,18 +9,16 @@ HS_PROG = haddock.bin HsParser_HC_OPTS += -Onot HaddockVersion_HC_OPTS = -DHADDOCK_VERSION=$(ProjectVersion) -CSS_FILE = haddock.css - ifeq "$(INSTALLING)" "1" ifeq "$(BIN_DIST)" "1" -HADDOCKCSS=$$\"\"libdir/haddock/$(CSS_FILE) +HADDOCKLIB=$$\"\"libdir/haddock HADDOCKBIN=$$\"\"libexecdir/$(HS_PROG) else -HADDOCKCSS=$(libdir)/haddock/$(CSS_FILE) +HADDOCKLIB=$(libdir)/haddock HADDOCKBIN=$(libexecdir)/$(HS_PROG) endif # BIN_DIST else -HADDOCKCSS=$(FPTOOLS_TOP_ABS)/haddock/html/$(CSS_FILE) +HADDOCKLIB=$(FPTOOLS_TOP_ABS)/haddock/html HADDOCKBIN=$(FPTOOLS_TOP_ABS)/haddock/src/$(HS_PROG) endif @@ -40,7 +38,7 @@ SCRIPT_OBJS=haddock.sh INTERP=$(SHELL) -SCRIPT_SUBST_VARS = HADDOCKCSS HADDOCKBIN +SCRIPT_SUBST_VARS = HADDOCKLIB HADDOCKBIN INSTALL_SCRIPTS += $(SCRIPT_PROG) INSTALL_LIBEXECS = $(HS_PROG) |