diff --git a/html5-entity.cabal b/html5-entity.cabal
--- a/html5-entity.cabal
+++ b/html5-entity.cabal
@@ -1,5 +1,5 @@
 name:                html5-entity
-version:             0.1.0.1
+version:             0.1.0.2
 synopsis:            A library for looking up and validating HTML5 entities.
 description:         A library for looking up and validating HTML5 entities.
                      The <http://html.spec.whatwg.org/multipage/entities.json following>
@@ -39,14 +39,14 @@
 executable html5-entity-generate
   if flag(generator)
     buildable: True
+    build-depends:       base >= 4.5 && < 4.8
+                       , text
+                       , unordered-containers
+                       , haskell-src
+                       , aeson
+                       , bytestring
   else
     buildable: False
-  build-depends:       base >= 4.5 && < 4.8
-                     , text
-                     , unordered-containers
-                     , haskell-src
-                     , aeson
-                     , bytestring
   hs-source-dirs:      generation/
   main-is:             Generate.hs
   default-language:    Haskell2010
