Switch from epub to pandoc for epub creation.
[dead/lwn-epub.git] / lwn-epub.cabal
1 name: lwn-epub
2 version: 0.0
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 synopsis:
7 Convert issues of LWN (lwn.net) to EPUB format.
8 build-type: Simple
9
10 executable lwn-epub
11 build-depends:
12 base == 4.5.*,
13 bytestring == 0.9.*,
14 directory == 1.1.*,
15 filepath == 1.3.*,
16 HandsomeSoup == 0.3.*,
17 hxt == 9.*,
18 MissingH == 1.1.*,
19 pandoc == 1.9.*,
20 time == 1.*
21
22 main-is:
23 Main.hs
24
25 hs-source-dirs:
26 src/
27
28 ghc-options:
29 -Wall
30 -fwarn-hi-shadowing
31 -fwarn-missing-signatures
32 -fwarn-name-shadowing
33 -fwarn-orphans
34 -fwarn-type-defaults
35 -fwarn-tabs
36 -fwarn-incomplete-record-updates
37 -fwarn-monomorphism-restriction
38 -fwarn-unused-do-bind
39 -funbox-strict-fields
40 -fexcess-precision
41 -fno-spec-constr-count
42 -rtsopts
43 -threaded
44 -O2
45 -optc-O3
46 -optc-march=native