Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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)/ext \
  15. $(DESTDIR)$(PYTHON_QUBESPATH)/tests \
  16. $(DESTDIR)$(PYTHON_QUBESPATH)/tests/vm
  17. cp \
  18. __init__.py* \
  19. _pluginloader.py* \
  20. config.py* \
  21. dochelpers.py* \
  22. events.py* \
  23. log.py* \
  24. plugins.py* \
  25. rngdoc.py* \
  26. utils.py* \
  27. $(DESTDIR)$(PYTHON_QUBESPATH)
  28. cp \
  29. vm/__init__.py* \
  30. vm/adminvm.py* \
  31. vm/appvm.py* \
  32. vm/dispvm.py* \
  33. vm/hvm.py* \
  34. vm/netvm.py* \
  35. vm/proxyvm.py* \
  36. vm/qubesvm.py* \
  37. vm/templatehvm.py* \
  38. vm/templatevm.py* \
  39. $(DESTDIR)$(PYTHON_QUBESPATH)/vm
  40. cp ext/__init__.py* $(DESTDIR)$(PYTHON_QUBESPATH)/ext
  41. cp \
  42. tests/__init__.py* \
  43. tests/events.py* \
  44. tests/init.py* \
  45. tests/run.py* \
  46. $(DESTDIR)$(PYTHON_QUBESPATH)/tests
  47. cp \
  48. tests/vm/__init__.py* \
  49. tests/vm/init.py* \
  50. tests/vm/qubesvm.py* \
  51. $(DESTDIR)$(PYTHON_QUBESPATH)/tests/vm