aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-31 12:12:27 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-31 12:12:27 +0100
commite6f4576ed5f3e6a289f911d93e578c4b6ade3e2d (patch)
tree6b3efce0d3ad51c4d970104fb8a0d0d47a0e755d /tools
parent61c6564d34361efda2d134145f3ce39796b23ed1 (diff)
downloadxen-e6f4576ed5f3e6a289f911d93e578c4b6ade3e2d.tar.gz
xen-e6f4576ed5f3e6a289f911d93e578c4b6ade3e2d.tar.bz2
xen-e6f4576ed5f3e6a289f911d93e578c4b6ade3e2d.zip
Fix handling of auto-generated file xsm.py.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/Makefile4
-rw-r--r--tools/python/xen/util/xsm/xsm.py9
2 files changed, 2 insertions, 11 deletions
diff --git a/tools/python/Makefile b/tools/python/Makefile
index 832808237a..880a19c9ff 100644
--- a/tools/python/Makefile
+++ b/tools/python/Makefile
@@ -23,10 +23,10 @@ CATALOGS = $(patsubst %,xen/xm/messages/%.mo,$(LINGUAS))
NLSDIR = /usr/share/locale
.PHONY: build buildpy
-buildpy:
+buildpy: xsm.py
CC="$(CC)" CFLAGS="$(CFLAGS)" XEN_SECURITY_MODULE="$(XEN_SECURITY_MODULE)" python setup.py build
-build: xsm.py buildpy refresh-pot refresh-po $(CATALOGS)
+build: buildpy refresh-pot refresh-po $(CATALOGS)
# NB we take care to only update the .pot file it strings have
# actually changed. This is complicated by the embedded date
diff --git a/tools/python/xen/util/xsm/xsm.py b/tools/python/xen/util/xsm/xsm.py
deleted file mode 100644
index 92b8c3061b..0000000000
--- a/tools/python/xen/util/xsm/xsm.py
+++ /dev/null
@@ -1,9 +0,0 @@
-XEN_SECURITY_MODULE = "flask"
-from xsm_core import *
-
-import xen.util.xsm.flask.flask as xsm_module
-
-xsm_init(xsm_module)
-from xen.util.xsm.flask.flask import *
-del xsm_module
-