Copy hscolour.css into dist/... so it gets installed with the library docs
authorIan Lynagh <igloo@earth.li>
Wed, 5 Dec 2007 01:37:03 +0000 (01:37 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 5 Dec 2007 01:37:03 +0000 (01:37 +0000)
libraries/Makefile

index 3e29f6b..38bf497 100644 (file)
@@ -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.%