mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
The only "translation" is to the C locale (e.g. the NUL translation). I think it very unlikely we are going to see any new translations of the XenAPI error messages at this point so the only purpose of this code appears to be to periodically regenerate xen-xm.pot with a new embedded timestamp, to the detriment of those of us who use a version control system. After much beating with sticks I mananged to enable XenAPI support in xend and configure xm such that it returns "Permission denied." (AKA the SESSION_AUTHENTICATION_FAILED message) which I take to be a sign I've not broken things too badly. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
XEN_ROOT = $(CURDIR)/../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
.PHONY: all
|
|
all: build
|
|
|
|
XENPATH = "xen/util/path.py"
|
|
|
|
genpath-target = $(call buildmakevars2file,$(XENPATH))
|
|
$(eval $(genpath-target))
|
|
|
|
.PHONY: build
|
|
build: genpath genwrap.py $(XEN_ROOT)/tools/libxl/libxl.idl \
|
|
$(XEN_ROOT)/tools/libxl/libxltypes.py
|
|
PYTHONPATH=$(XEN_ROOT)/tools/libxl $(PYTHON) genwrap.py \
|
|
$(XEN_ROOT)/tools/libxl/libxl.idl \
|
|
xen/lowlevel/xl/_pyxl_types.h \
|
|
xen/lowlevel/xl/_pyxl_types.c
|
|
CC="$(CC)" CFLAGS="$(CFLAGS)" $(PYTHON) setup.py build
|
|
|
|
.PHONY: install
|
|
install: install-dtd
|
|
CC="$(CC)" CFLAGS="$(CFLAGS)" $(PYTHON) setup.py install \
|
|
$(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" --force
|
|
|
|
install-dtd: all
|
|
$(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/xen
|
|
$(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)$(SHAREDIR)/xen
|
|
|
|
.PHONY: test
|
|
test:
|
|
export LD_LIBRARY_PATH=$$(readlink -f ../libxc):$$(readlink -f ../xenstore); $(PYTHON) test.py -b -u
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f $(XENPATH)
|
|
rm -rf *.pyc *.pyo *.o *.a *~ xen/util/auxbin.pyc
|
|
rm -f xen/lowlevel/xl/_pyxl_types.h
|
|
rm -f xen/lowlevel/xl/_pyxl_types.c
|
|
rm -f $(DEPS)
|
|
|
|
-include $(DEPS)
|