Bump version suffix to 2.16.0 beta2
[ganeti-github.git] / cabal / cabal-from-modules.py
1 import sys
2
3 cabal_in = sys.argv[1]
4
5 modules = '\n '.join(sorted(sys.stdin.read().split()))
6 template = open(cabal_in).read()
7 contents = template.replace('-- AUTOGENERATED_MODULES_HERE', modules)
8 sys.stdout.write(contents)