Allow ProjectTags to be specified in mk/build.mk
authorIan Lynagh <igloo@earth.li>
Fri, 13 Apr 2007 23:05:55 +0000 (23:05 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 13 Apr 2007 23:05:55 +0000 (23:05 +0000)
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.

mk/config.mk.in

index a489fbf..a47a215 100644 (file)
@@ -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@