Makefile 424 B

123456789101112131415
  1. PYTHON_QUBESMODPATH = $(PYTHON_SITEPATH)/qubes/modules
  2. all:
  3. python -m compileall .
  4. python -O -m compileall .
  5. install:
  6. ifndef PYTHON_SITEPATH
  7. $(error PYTHON_SITEPATH not defined)
  8. endif
  9. mkdir -p $(DESTDIR)$(PYTHON_QUBESMODPATH)
  10. cp 0*.py $(DESTDIR)$(PYTHON_QUBESMODPATH)
  11. cp 0*.py[co] $(DESTDIR)$(PYTHON_QUBESMODPATH)
  12. cp __init__.py $(DESTDIR)$(PYTHON_QUBESMODPATH)
  13. cp __init__.py[co] $(DESTDIR)$(PYTHON_QUBESMODPATH)