From 41ea3aecf9cb33f9b037376ab731a3927d1a2f03 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 5 Dec 2007 01:37:03 +0000 Subject: [PATCH] Copy hscolour.css into dist/... so it gets installed with the library docs --- libraries/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/Makefile b/libraries/Makefile index 3e29f6b..38bf497 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -299,6 +299,9 @@ doc.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \ cd $* && setup/Setup haddock --html-location='../$$pkg' \ $(CABAL_HADDOCK_FLAGS); \ fi +ifneq "$(HSCOLOUR)" "" + ifBuildable/ifBuildable $* && cp hscolour.css $*/dist/doc/html/$*/src/ +endif .PHONY: distclean clean clean.library.% -- 1.7.10.4