Explicitly list HpcParser as a module in hpc-bin
authorIan Lynagh <igloo@earth.li>
Fri, 18 Jul 2008 17:46:57 +0000 (17:46 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 18 Jul 2008 17:46:57 +0000 (17:46 +0000)
Cabal doesn't preprocess the .y file otherwise.

utils/hpc/hpc-bin.cabal

index f980e4d..8564fa4 100644 (file)
@@ -18,6 +18,7 @@ Flag base3
 
 Executable hpc
     Main-Is: Hpc.hs
+    Other-Modules: HpcParser
     if flag(base3)
         Build-Depends: base       >= 3   && < 4,
                        directory  >= 1   && < 1.1,