Files
xen/tools/pygrub/Makefile
T
kaf24@firebug.cl.cam.ac.uk 635fd50b51 Re-enable the pygrub build and fix the build with older
e2fsprogs (tested on RHEL4 with e2fsprogs-1.35 and rawhide
with e2fsprogs-1.38)

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-10-07 23:21:23 +01:00

19 lines
366 B
Makefile

XEN_ROOT = ../..
include $(XEN_ROOT)/tools/Rules.mk
all: build
build:
CFLAGS="$(CFLAGS)" python setup.py build
ifndef XEN_PYTHON_NATIVE_INSTALL
install: all
CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr"
else
install: all
CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
endif
clean:
rm -rf build tmp *.pyc *.pyo *.o *.a *~