summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-04-13 23:05:55 +0000
committerIan Lynagh <igloo@earth.li>2007-04-13 23:05:55 +0000
commitaeb3bb643aa70088e2fb85027d9182bded6d0ddc (patch)
tree1ea768e1a21163bb1d01952b28c7c8c954818f52 /mk
parent1569075dbdc0b46720a5b2d89df3fb100cf84e3d (diff)
downloadhaskell-aeb3bb643aa70088e2fb85027d9182bded6d0ddc.tar.gz
Allow ProjectTags to be specified in mk/build.mk
ProjectTags is expected to be of the form -tag1-tag2 (i.e. the same as Cabal tags). These are appended to the GHC version number.
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index a489fbf598..a47a2153a5 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -56,7 +56,8 @@ endif
# random .o-file stuff might change even if the .hi syntax doesn't
ProjectName = @ProjectName@
-ProjectVersion = @ProjectVersion@
+ProjectTags =
+ProjectVersion = @ProjectVersion@$(ProjectTags)
ProjectVersionInt = @ProjectVersionInt@
ProjectPatchLevel = @ProjectPatchLevel@