17 lines
364 B
Makefile
17 lines
364 B
Makefile
|
PYTHON = /usr/bin/python2
|
||
|
PYTHON_SITEARCH = `python2 -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1)'`
|
||
|
|
||
|
all:
|
||
|
$(PYTHON) -m compileall .
|
||
|
$(PYTHON) -O -m compileall .
|
||
|
.PHONY: all
|
||
|
|
||
|
clean:
|
||
|
$(RM) *.py[co]
|
||
|
.PHONY: clean
|
||
|
|
||
|
install:
|
||
|
mkdir -p $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
||
|
cp *.py* $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
||
|
.PHONY: install
|