]> gitweb.michael.orlitzky.com - dead/lwn-epub.git/blobdiff - lwn-epub.cabal
Add the other-modules field to the cabal file to make `make dist` work.
[dead/lwn-epub.git] / lwn-epub.cabal
index c18f60f4827be2c3d28d1dd99d1d522566eb06a8..1d104b69fd837adc3f397a7039b374bd3c74dbf3 100644 (file)
@@ -1,5 +1,5 @@
 name:           lwn-epub
-version:        0.0.1
+version:        0.0.2
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
@@ -15,13 +15,13 @@ description:
   A command-line utility that downloads an LWN article (or issue), cleans it
   up, and writes it to EPUB with a stylesheet that looks decent on the Kindle.
   It can use account credentials to log in and access the current edition.
-data-files: doc/README
+data-files: makefile doc/README
 
 executable lwn-epub
   build-depends:
     base                    == 4.5.*,
     bytestring              == 0.9.*,
-    cmdargs                 == 0.9.*,
+    cmdargs                 == 0.10.*,
     ConfigFile              == 1.*,
     containers              == 0.*,
     directory               == 1.1.*,
@@ -49,6 +49,17 @@ executable lwn-epub
   hs-source-dirs:
     src/
 
+  other-modules:
+    CommandLine
+    Configuration
+    ExitCodes
+    LWN.Article
+    LWN.HTTP
+    LWN.Page
+    LWN.URI
+    LWN.XHTML
+    Misc
+
   ghc-options:
     -Wall
     -fwarn-hi-shadowing
@@ -74,7 +85,7 @@ test-suite testsuite
   build-depends:
     base                    == 4.5.*,
     bytestring              == 0.9.*,
-    cmdargs                 == 0.9.*,
+    cmdargs                 == 0.10.*,
     ConfigFile              == 1.*,
     containers              == 0.*,
     directory               == 1.1.*,