Fix handling of auto-generated file xsm.py.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-08-31 12:12:27 +01:00
1 parent 61c6564d34
commit e6f4576ed5
3 files changed
+3 -11

No files matched your search

+1
View File
@@ -149,6 +149,7 @@
^tools/misc/xenperf$
^tools/pygrub/build/.*$
^tools/python/build/.*$
^tools/python/xen/util/xsm/xsm\.py$
^tools/security/secpol_tool$
^tools/security/xen/.*$
^tools/security/xensec_tool$
+2 -2
View File
@@ -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
-9
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.