aboutsummaryrefslogtreecommitdiff
path: root/source/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2020-09-02 14:12:22 -0400
committerRob Austein <sra@hactrn.net>2020-09-02 14:12:22 -0400
commit18e88b3692f7b7c907319bb52d9681ec5d7c4fcd (patch)
treef1a8f65d15cc1453745a25bd06b1151366e7709a /source/Makefile
parent558bf7cae463caa1dcda176a12d0794f9a5a36ac (diff)
parent3e82e03f24fdde680a4224427b6bb58237b966bc (diff)
Merge Python3 support
Diffstat (limited to 'source/Makefile')
-rw-r--r--source/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Makefile b/source/Makefile
index 5095766..0e1f613 100644
--- a/source/Makefile
+++ b/source/Makefile
@@ -22,4 +22,5 @@ install: all
install -D -m 644 cryptech-alpha-firmware.tar.gz ${DESTDIR}/usr/share/cryptech-alpha-firmware.tar.gz
install -D -m 644 sw/pkcs11/libcryptech-pkcs11.so ${DESTDIR}/usr/lib/libcryptech-pkcs11.so
ln -s libcryptech-pkcs11.so ${DESTDIR}/usr/lib/libcryptech-pkcs11.so.0
- python setup.py install --install-layout=deb --root=${DESTDIR}
+ python3 setup.py install --install-layout=deb --root=${DESTDIR}
+ find ${DESTDIR} -type d -name __pycache__ -exec rm -rf {} +