summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2017-11-15 11:41:34 -0500
committerBen Gamari <ben@smart-cactus.org>2017-11-15 14:18:30 -0500
commit3bed4aa703c41ccbd310496420fbb71afdfd99e7 (patch)
tree84ee6b251c7e39bc73ea2f205344ed400f424387
parentd0a641a33d1f3c722813b95ac81ca207071cbf83 (diff)
downloadhaskell-3bed4aa703c41ccbd310496420fbb71afdfd99e7.tar.gz
Cabalify all the things
Adding cabal files to `unlit`, `touchy` and `hp2ps`, allows us to treat them uniformally across the build system. In particular Hadrian will use these. Reviewers: bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D4192
-rw-r--r--utils/hp2ps/hp2ps.cabal22
-rw-r--r--utils/touchy/touchy.cabal16
-rw-r--r--utils/unlit/unlit.cabal16
3 files changed, 54 insertions, 0 deletions
diff --git a/utils/hp2ps/hp2ps.cabal b/utils/hp2ps/hp2ps.cabal
new file mode 100644
index 0000000000..ba5db04415
--- /dev/null
+++ b/utils/hp2ps/hp2ps.cabal
@@ -0,0 +1,22 @@
+cabal-version: >=2.1
+Name: hp2ps
+Version: 0.1
+Copyright: XXX
+License: BSD3
+Author: XXX
+Maintainer: XXX
+Synopsis: Heap Profile to PostScript converter
+Description: XXX
+Category: Development
+build-type: Simple
+
+Executable unlit
+ Default-Language: Haskell2010
+ Main-Is: Main.c
+ extra-libraries: m
+ C-Sources:
+ AreaBelow.c Curves.c Error.c Main.c
+ Reorder.c TopTwenty.c AuxFile.c Deviation.c
+ HpFile.c Marks.c Scale.c TraceElement.c
+ Axes.c Dimensions.c Key.c PsFile.c Shade.c
+ Utilities.c
diff --git a/utils/touchy/touchy.cabal b/utils/touchy/touchy.cabal
new file mode 100644
index 0000000000..ab025e4e36
--- /dev/null
+++ b/utils/touchy/touchy.cabal
@@ -0,0 +1,16 @@
+cabal-version: >=2.1
+Name: touchy
+Version: 0.1
+Copyright: XXX
+License: BSD3
+Author: XXX
+Maintainer: XXX
+Synopsis: @touch@ for windows
+Description: XXX
+Category: Development
+build-type: Simple
+
+Executable unlit
+ Default-Language: Haskell2010
+ Main-Is: touchy.c
+ C-Sources: touchy.c
diff --git a/utils/unlit/unlit.cabal b/utils/unlit/unlit.cabal
new file mode 100644
index 0000000000..e15a0754f6
--- /dev/null
+++ b/utils/unlit/unlit.cabal
@@ -0,0 +1,16 @@
+cabal-version: >=2.1
+Name: unlit
+Version: 0.1
+Copyright: XXX
+License: BSD3
+Author: XXX
+Maintainer: XXX
+Synopsis: Literate program filter
+Description: XXX
+Category: Development
+build-type: Simple
+
+Executable unlit
+ Default-Language: Haskell2010
+ Main-Is: unlit.c
+ C-Sources: unlit.c