From adce88570283d08debc25e03eb5bbf90b41ea1dc Mon Sep 17 00:00:00 2001
From: Duncan Coutts <duncan@haskell.org>
Date: Tue, 20 May 2008 19:17:00 +0000
Subject: [PATCH] Rename doc/fptools.css to avoid the ghc build system cleaning
 it The user guide gets built in two different ways. There's a target in
 Cabal's the top level Makefile and there is also the stuff that the ghc build
 system uses. The ghc build system expects to copy in doc/fptools.css and then
 delete it again on make clean. We want a persistent copy so that we can make
 the docs when we've just got a standalone Cabal build tree, so that's now
 kept as doc/Cabal.css.

---
 Makefile                       | 2 +-
 doc/{fptools.css => Cabal.css} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename doc/{fptools.css => Cabal.css} (100%)

diff --git a/Makefile b/Makefile
index edb7858fa0..4d908f9892 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,7 @@ $(HADDOCK_STAMP) : $(CONFIG_STAMP)
 
 XSLTPROC=xsltproc
 XSLTPROC_HTML_OUTDIR=dist/doc/users-guide/
-XSLTPROC_HTML_CSS=doc/fptools.css
+XSLTPROC_HTML_CSS=doc/Cabal.css
 XSLTPROC_HTML_PARAMS=\
 	--param use.id.as.filename 1 \
 	--param toc.section.depth 3 \
diff --git a/doc/fptools.css b/doc/Cabal.css
similarity index 100%
rename from doc/fptools.css
rename to doc/Cabal.css
-- 
GitLab