summaryrefslogtreecommitdiff
path: root/libraries/libiserv
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2018-11-26 12:59:30 -0500
committerRyan Scott <ryan.gl.scott@gmail.com>2018-11-26 12:59:38 -0500
commit8f9f52d8e421ce544d5437a93117545d52d0eabd (patch)
tree1e826ef6d0e47d0f65a703143e66bf061fc80fa0 /libraries/libiserv
parentf932b1aa42f45625658c8abaf862cc570507c5ca (diff)
downloadhaskell-8f9f52d8e421ce544d5437a93117545d52d0eabd.tar.gz
Use autoconf to generate version numbers for libiserv and friends
Summary: Currently, the version numbers for `libiserv`, `iserv`, and `iserv-proxy` are hard-coded directly into their `.cabal` files. These are easy to forget to update, and in fact, this has already happened once (see #15866). Let's use `autoconf` to do this for us so that it is not forgotten in the future. Test Plan: ./validate Reviewers: bgamari Reviewed By: bgamari Subscribers: rwbarton, erikd, carter GHC Trac Issues: #15866 Differential Revision: https://phabricator.haskell.org/D5302
Diffstat (limited to 'libraries/libiserv')
-rw-r--r--libraries/libiserv/libiserv.cabal.in (renamed from libraries/libiserv/libiserv.cabal)8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/libiserv/libiserv.cabal b/libraries/libiserv/libiserv.cabal.in
index 196d36ce68..31eaaeb838 100644
--- a/libraries/libiserv/libiserv.cabal
+++ b/libraries/libiserv/libiserv.cabal.in
@@ -1,5 +1,9 @@
+-- WARNING: libiserv.cabal is automatically generated from libiserv.cabal.in by
+-- ../../configure. Make sure you are editing libiserv.cabal.in, not
+-- libiserv.cabal.
+
Name: libiserv
-Version: 8.7.1
+Version: @ProjectVersionMunged@
Copyright: XXX
License: BSD3
License-File: LICENSE
@@ -25,7 +29,7 @@ Library
bytestring >= 0.10 && < 0.11,
containers >= 0.5 && < 0.7,
deepseq >= 1.4 && < 1.5,
- ghci == 8.7.*
+ ghci == @ProjectVersionMunged@
if flag(network)
Exposed-Modules: Remote.Message
, Remote.Slave