2015-01-13 18:23:04 +01:00
|
|
|
OS ?= Linux
|
|
|
|
|
|
|
|
PYTHON_QUBESPATH = $(PYTHON_SITEPATH)/qubes
|
|
|
|
SETTINGS_SUFFIX = $(BACKEND_VMM)-$(OS)
|
|
|
|
|
|
|
|
all:
|
|
|
|
python -m compileall .
|
|
|
|
python -O -m compileall .
|
|
|
|
|
|
|
|
install:
|
|
|
|
ifndef PYTHON_SITEPATH
|
|
|
|
$(error PYTHON_SITEPATH not defined)
|
|
|
|
endif
|
|
|
|
mkdir -p $(DESTDIR)$(PYTHON_QUBESPATH)
|
|
|
|
mkdir \
|
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/vm \
|
2015-01-16 15:33:03 +01:00
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/storage \
|
2015-01-23 18:37:40 +01:00
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/tools \
|
2015-01-13 18:23:04 +01:00
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/ext \
|
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/tests \
|
2015-01-23 18:37:40 +01:00
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/tests/vm \
|
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/tests/tools
|
2015-01-13 18:23:04 +01:00
|
|
|
|
|
|
|
cp \
|
|
|
|
__init__.py* \
|
|
|
|
_pluginloader.py* \
|
|
|
|
config.py* \
|
|
|
|
dochelpers.py* \
|
|
|
|
events.py* \
|
|
|
|
log.py* \
|
|
|
|
plugins.py* \
|
|
|
|
rngdoc.py* \
|
|
|
|
utils.py* \
|
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)
|
|
|
|
|
|
|
|
cp \
|
|
|
|
vm/__init__.py* \
|
|
|
|
vm/adminvm.py* \
|
|
|
|
vm/appvm.py* \
|
|
|
|
vm/dispvm.py* \
|
|
|
|
vm/hvm.py* \
|
|
|
|
vm/netvm.py* \
|
|
|
|
vm/proxyvm.py* \
|
|
|
|
vm/qubesvm.py* \
|
|
|
|
vm/templatehvm.py* \
|
|
|
|
vm/templatevm.py* \
|
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/vm
|
|
|
|
|
2015-01-16 15:33:03 +01:00
|
|
|
cp \
|
|
|
|
storage/__init__.py* \
|
|
|
|
storage/xen.py* \
|
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/storage
|
|
|
|
|
2015-01-23 18:37:40 +01:00
|
|
|
cp \
|
|
|
|
tools/__init__.py* \
|
2015-06-23 23:07:03 +02:00
|
|
|
tools/qubes_create.py* \
|
2015-06-26 11:08:26 +02:00
|
|
|
tools/qvm_create.py* \
|
2015-01-23 18:37:40 +01:00
|
|
|
tools/qvm_ls.py* \
|
2015-09-21 23:20:49 +02:00
|
|
|
tools/qvm_prefs.py* \
|
2015-01-23 18:37:40 +01:00
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/tools
|
|
|
|
|
2015-01-13 18:23:04 +01:00
|
|
|
cp ext/__init__.py* $(DESTDIR)$(PYTHON_QUBESPATH)/ext
|
|
|
|
|
|
|
|
cp \
|
|
|
|
tests/__init__.py* \
|
|
|
|
tests/events.py* \
|
|
|
|
tests/init.py* \
|
|
|
|
tests/run.py* \
|
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/tests
|
|
|
|
|
|
|
|
cp \
|
|
|
|
tests/vm/__init__.py* \
|
|
|
|
tests/vm/init.py* \
|
2015-01-15 16:05:42 +01:00
|
|
|
tests/vm/adminvm.py* \
|
2015-01-13 18:23:04 +01:00
|
|
|
tests/vm/qubesvm.py* \
|
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/tests/vm
|
2015-01-23 18:37:40 +01:00
|
|
|
|
|
|
|
cp \
|
|
|
|
tests/tools/__init__.py* \
|
2015-06-26 11:07:23 +02:00
|
|
|
tests/tools/init.py* \
|
2015-01-23 18:37:40 +01:00
|
|
|
tests/tools/qvm_ls.py* \
|
|
|
|
$(DESTDIR)$(PYTHON_QUBESPATH)/tests/tools
|