aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockVersion.hs
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-04-11 13:40:31 +0000
committersimonmar <unknown>2002-04-11 13:40:31 +0000
commitfe9b10f8c0758645c680b339b8cc26bfb25697e8 (patch)
treeadfa11682a095eaa758f6c57fedc05b7347e283a /src/HaddockVersion.hs
parent69006c3efae7477ca84fd679f72d6a0a2f500534 (diff)
[haddock @ 2002-04-11 13:40:30 by simonmar]
- copy haddock.css into the same place as the generated HTML - new option: --css <file> specifies the style sheet to use - new option: -o <dir> specifies the directory in which to generate the output. - because Haddock now needs to know where to find its default stylesheet, we have to have a wrapper script and do the haddock-inplace thing (Makefile code copied largely from fptools/happy).
Diffstat (limited to 'src/HaddockVersion.hs')
-rw-r--r--src/HaddockVersion.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/HaddockVersion.hs b/src/HaddockVersion.hs
index 0442761f..6617203c 100644
--- a/src/HaddockVersion.hs
+++ b/src/HaddockVersion.hs
@@ -7,5 +7,8 @@
module HaddockVersion ( projectName, projectVersion, projectUrl ) where
projectName = "Haddock"
-projectVersion = "0.0"
projectUrl = "http://www.haskell.org/haddock"
+
+-- The version comes in via CPP from mk/version.mk
+projectVersion = tail "\
+ \ HADDOCK_VERSION"