blob: cac8def7204ee485224e22ff2835e4aca5a182ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
PREFIX ?= /usr
PYTHON ?= python3
PYTHONLIBDIR ?= $(shell $(PYTHON) -c "from distutils.sysconfig import *; print(get_python_lib(prefix='$(PREFIX)'))")
PACKAGEDIR ?= /$(PYTHONLIBDIR)/sepolgen
all:
install: all
-mkdir -p $(DESTDIR)$(PACKAGEDIR)
install -m 644 *.py $(DESTDIR)$(PACKAGEDIR)
clean:
rm -f parser.out parsetab.py
rm -f *~ *.pyc
rm -rf __pycache__
|