diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/HaddockVersion.hs | 3 | ||||
-rw-r--r-- | src/Makefile | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/HaddockVersion.hs b/src/HaddockVersion.hs index 45ad4d60..a2f51c28 100644 --- a/src/HaddockVersion.hs +++ b/src/HaddockVersion.hs @@ -14,5 +14,4 @@ projectUrl = "http://www.haskell.org/haddock/" -- The version comes in via CPP from mk/version.mk projectVersion :: String -projectVersion = tail "\ - \ HADDOCK_VERSION" +projectVersion = HADDOCK_VERSION diff --git a/src/Makefile b/src/Makefile index b572e8ee..8f60a429 100644 --- a/src/Makefile +++ b/src/Makefile @@ -33,7 +33,7 @@ endif HsParser_HC_OPTS += -Onot HaddockParse_HC_OPTS += -Onot -HaddockVersion_HC_OPTS = -DHADDOCK_VERSION=$(ProjectVersion) +HaddockVersion_HC_OPTS = -D'HADDOCK_VERSION="$(ProjectVersion)"' HaddockVersion : ../mk/version.mk |