Commit 4b15987c9e831a00dfe53806a082bbe9c431c9f3
- Diff rendering mode:
- inline
- side by side
hsdns.cabal
(24 / 12)
|   | |||
| 2 | 2 | Version: 1.3 | |
| 3 | 3 | Author: Peter Simons <simons@cryp.to>, | |
| 4 | 4 | Lutz Donnerhacke <lutz@iks-jena.de> | |
| 5 | Maintainer: simons@cryp.to | ||
| 5 | Maintainer: Peter Simons <simons@cryp.to> | ||
| 6 | 6 | License: LGPL | |
| 7 | 7 | License-File: COPYING | |
| 8 | 8 | Homepage: http://cryp.to/hsdns/ | |
| … | … | ||
| 21 | 21 | Data-Files: README, prologue.txt | |
| 22 | 22 | Build-Type: Simple | |
| 23 | 23 | ||
| 24 | Executable: adns-reverse-lookup | ||
| 25 | Hs-Source-Dirs: example, . | ||
| 26 | Main-Is: adns-reverse-lookup.hs | ||
| 27 | Extra-Libraries: adns | ||
| 28 | GHC-Options: -O -Wall -threaded | ||
| 29 | |||
| 30 | Executable: adns-test-and-traverse | ||
| 31 | Hs-Source-Dirs: example, . | ||
| 32 | Main-Is: adns-test-and-traverse.hs | ||
| 33 | Extra-Libraries: adns | ||
| 34 | GHC-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 |

