2013-06-15 23:14:54 +02:00
|
|
|
PYTHON_QUBESPATH = $(PYTHON_SITEPATH)/qubes
|
|
|
|
SYSCONFDIR ?= /etc
|
2014-01-05 05:36:50 +01:00
|
|
|
all:
|
2013-06-15 23:14:54 +02:00
|
|
|
python -m compileall .
|
|
|
|
python -O -m compileall .
|
2010-09-15 15:36:04 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.pyo
|
|
|
|
|
2013-06-15 23:14:54 +02:00
|
|
|
install:
|
|
|
|
ifndef PYTHON_SITEPATH
|
|
|
|
$(error PYTHON_SITEPATH not defined)
|
|
|
|
endif
|
|
|
|
mkdir -p $(DESTDIR)$(PYTHON_QUBESPATH)
|
|
|
|
cp qmemman*py $(DESTDIR)$(PYTHON_QUBESPATH)
|
|
|
|
cp qmemman*py[co] $(DESTDIR)$(PYTHON_QUBESPATH)
|
|
|
|
mkdir -p $(DESTDIR)$(SYSCONFDIR)/qubes
|
|
|
|
cp qmemman.conf $(DESTDIR)$(SYSCONFDIR)/qubes/
|
|
|
|
mkdir -p $(DESTDIR)/usr/lib/qubes
|
|
|
|
cp server.py $(DESTDIR)/usr/lib/qubes/qmemman_daemon.py
|
|
|
|
|