mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2026-03-29 01:03:33 +00:00
This fixes a few obvious issues when comparing the make dist output with the git tree. - Make all templates non-executable in git - Remove unused files: - src/lxc/list.c (empty, only includes the list.h header) - src/lxc/lxc-destroy.in (replace by lxc_destroy.c) - Add missing files to dist tarball: - src/python-lxc/examples/pyconsole.py - src/python-lxc/examples/pyconsole-vte.py - Mark all the python API tests executable - Mark lxc-test-ubuntu executable Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
30 lines
585 B
Makefile
30 lines
585 B
Makefile
if ENABLE_PYTHON
|
|
|
|
if HAVE_DEBIAN
|
|
DISTSETUPOPTS=--install-layout=deb
|
|
else
|
|
DISTSETUPOPTS=
|
|
endif
|
|
|
|
all:
|
|
CFLAGS="$(CFLAGS) -I ../../src -L../../src/lxc/" $(PYTHON) setup.py build
|
|
|
|
install:
|
|
if [ "$(DESTDIR)" = "" ]; then \
|
|
$(PYTHON) setup.py install --prefix=$(prefix) --no-compile $(DISTSETUPOPTS); \
|
|
else \
|
|
$(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) --no-compile $(DISTSETUPOPTS); \
|
|
fi
|
|
|
|
clean-local:
|
|
rm -rf build
|
|
|
|
endif
|
|
EXTRA_DIST = \
|
|
setup.py \
|
|
lxc.c \
|
|
lxc/__init__.py \
|
|
examples/api_test.py \
|
|
examples/pyconsole.py \
|
|
examples/pyconsole-vte.py
|