From 55438c073259b318296713ca7269eb4447f6a61a Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Mon, 10 Dec 2012 17:25:30 +0100 Subject: [PATCH] Export jstore constants as well to Constants.hs This single constant could be as well moved to constants.py. For now I choose to just export the module as well. Signed-off-by: Iustin Pop Reviewed-by: Guido Trotter --- Makefile.am | 1 + autotools/convert-constants | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index ec4ea67..601da2b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1236,6 +1236,7 @@ htools/Ganeti/Version.hs: htools/Ganeti/Version.hs.in \ htools/Ganeti/Constants.hs: htools/Ganeti/Constants.hs.in \ lib/constants.py lib/_autoconf.py lib/luxi.py lib/errors.py \ + lib/jstore.py \ $(CONVERT_CONSTANTS) $(built_base_sources) \ | lib/_vcsversion.py set -e; \ diff --git a/autotools/convert-constants b/autotools/convert-constants index da04968..c9695f4 100755 --- a/autotools/convert-constants +++ b/autotools/convert-constants @@ -32,6 +32,7 @@ from ganeti import errors from ganeti import luxi from ganeti import opcodes from ganeti import qlang +from ganeti import jstore #: Constant name regex @@ -313,6 +314,7 @@ def main(): print Convert(qlang, "qlang") print Convert(_autoconf, "autoconf") print Convert(errors, "errors") + print Convert(jstore, "jstore") print ConvertMisc() -- 1.7.10.4