aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/Makefile
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/python/Makefile
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/python/Makefile')
-rw-r--r--tools/python/Makefile4
1 files changed, 2 insertions, 2 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