Makefile 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. OS ?= Linux
  2. PYTHON_QUBESPATH = $(PYTHON_SITEPATH)/qubes
  3. SETTINGS_SUFFIX = $(BACKEND_VMM)-$(OS)
  4. all:
  5. python -m compileall .
  6. python -O -m compileall .
  7. install:
  8. ifndef PYTHON_SITEPATH
  9. $(error PYTHON_SITEPATH not defined)
  10. endif
  11. mkdir -p $(DESTDIR)$(PYTHON_QUBESPATH)
  12. mkdir \
  13. $(DESTDIR)$(PYTHON_QUBESPATH)/vm \
  14. $(DESTDIR)$(PYTHON_QUBESPATH)/storage \
  15. $(DESTDIR)$(PYTHON_QUBESPATH)/tools \
  16. $(DESTDIR)$(PYTHON_QUBESPATH)/ext \
  17. $(DESTDIR)$(PYTHON_QUBESPATH)/tests \
  18. $(DESTDIR)$(PYTHON_QUBESPATH)/tests/vm \
  19. $(DESTDIR)$(PYTHON_QUBESPATH)/tests/tools
  20. cp \
  21. __init__.py* \
  22. _pluginloader.py* \
  23. config.py* \
  24. dochelpers.py* \
  25. events.py* \
  26. log.py* \
  27. plugins.py* \
  28. rngdoc.py* \
  29. utils.py* \
  30. $(DESTDIR)$(PYTHON_QUBESPATH)
  31. cp \
  32. vm/__init__.py* \
  33. vm/adminvm.py* \
  34. vm/appvm.py* \
  35. vm/dispvm.py* \
  36. vm/hvm.py* \
  37. vm/netvm.py* \
  38. vm/proxyvm.py* \
  39. vm/qubesvm.py* \
  40. vm/templatehvm.py* \
  41. vm/templatevm.py* \
  42. $(DESTDIR)$(PYTHON_QUBESPATH)/vm
  43. cp \
  44. storage/__init__.py* \
  45. storage/xen.py* \
  46. $(DESTDIR)$(PYTHON_QUBESPATH)/storage
  47. cp \
  48. tools/__init__.py* \
  49. tools/qubes_create.py* \
  50. tools/qvm_create.py* \
  51. tools/qvm_ls.py* \
  52. tools/qvm_prefs.py* \
  53. $(DESTDIR)$(PYTHON_QUBESPATH)/tools
  54. cp ext/__init__.py* $(DESTDIR)$(PYTHON_QUBESPATH)/ext
  55. cp \
  56. tests/__init__.py* \
  57. tests/events.py* \
  58. tests/init.py* \
  59. tests/run.py* \
  60. $(DESTDIR)$(PYTHON_QUBESPATH)/tests
  61. cp \
  62. tests/vm/__init__.py* \
  63. tests/vm/init.py* \
  64. tests/vm/adminvm.py* \
  65. tests/vm/qubesvm.py* \
  66. $(DESTDIR)$(PYTHON_QUBESPATH)/tests/vm
  67. cp \
  68. tests/tools/__init__.py* \
  69. tests/tools/init.py* \
  70. tests/tools/qvm_ls.py* \
  71. $(DESTDIR)$(PYTHON_QUBESPATH)/tests/tools