pylib/Makefile
raw| 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | |
| 3 | DESTDIR?=/ |
| 4 | PREFIX?=/usr |
| 5 | |
| 6 | purge_pycache: |
| 7 | @find -name '__pycache__' | xargs rm -rf |
| 8 | |
| 9 | install: purge_pycache |
| 10 | python3 setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) |
| 11 | |
| 12 | ubuntu_install: purge_pycache |
| 13 | python3 setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) --no-compile --install-layout=deb |