From 7da1303a0f16bac0d2cef0cb6132cbaa4665692c Mon Sep 17 00:00:00 2001 From: CloudyPadmal Date: Tue, 14 May 2019 00:27:36 +0530 Subject: [PATCH] feat: upgrade makefile to cleanup old libs --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bf53cc6e..121cdefe 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,19 @@ DESTDIR = # Find library installation path -INSTALL_PATH = $(patsubst Location:,,$(shell pip show PSL | grep Location)) +INSTALL_PATH = $(patsubst Location:,,$(shell python3 -m pip show PSL | grep Location)) INSTALL_PATH_LEN = $(shell echo $(INSTALL_PATH) | wc -c) all: python3 setup.py build +fullclean: + # Removes every PSL instance in system. Be careful and check if the following list got all files inside a python folder or related to PSLab + find /usr/* -name "PSL*" | xargs rm -rf + find /usr/* -name "pslab*" | xargs rm -rf + find /opt/* -name "pslab-*" | xargs rm -rf + rm -rf /usr/bin/Experiments /usr/local/bin/Experiments + clean: # Remove build files @rm -rf docs/_* pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy