Commit 4b15987c9e831a00dfe53806a082bbe9c431c9f3

updated cabal file
hsdns.cabal
(24 / 12)
  
22Version: 1.3
33Author: Peter Simons <simons@cryp.to>,
44 Lutz Donnerhacke <lutz@iks-jena.de>
5Maintainer: simons@cryp.to
5Maintainer: Peter Simons <simons@cryp.to>
66License: LGPL
77License-File: COPYING
88Homepage: http://cryp.to/hsdns/
2121Data-Files: README, prologue.txt
2222Build-Type: Simple
2323
24Executable: adns-reverse-lookup
25Hs-Source-Dirs: example, .
26Main-Is: adns-reverse-lookup.hs
27Extra-Libraries: adns
28GHC-Options: -O -Wall -threaded
29
30Executable: adns-test-and-traverse
31Hs-Source-Dirs: example, .
32Main-Is: adns-test-and-traverse.hs
33Extra-Libraries: adns
34GHC-Options: -O -Wall -threaded
24-- Building these executables doesn't work anymore with the latest
25-- cabal version. The problem is that the file ADNS/Base.hs is no
26-- longer generated into the source tree, but into the dist/
27-- directory, where the example programs won't find it during
28-- compilation.
29--
30-- To remedy the situation, we need either a really wild search
31-- path so that ADNS/Base.hs is found in the build dir, or we need
32-- separate cabal files for building the library and the example
33-- programs (which would suck) or some other magic way I am
34-- currently unaware of but that probably exists. Whatever.
35--
36-- Executable: adns-reverse-lookup
37-- Hs-Source-Dirs: example, .
38-- Main-Is: adns-reverse-lookup.hs
39-- Extra-Libraries: adns
40-- GHC-Options: -O -Wall -threaded
41--
42-- Executable: adns-test-and-traverse
43-- Hs-Source-Dirs: example, .
44-- Main-Is: adns-test-and-traverse.hs
45-- Extra-Libraries: adns
46-- GHC-Options: -O -Wall -threaded