Skip to content

Commit 93e0a8c

Browse files
authored
feat: upgrade makefile to cleanup old libs (fossasia#96)
1 parent 9f1fea6 commit 93e0a8c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
DESTDIR =
22

33
# Find library installation path
4-
INSTALL_PATH = $(patsubst Location:,,$(shell pip show PSL | grep Location))
4+
INSTALL_PATH = $(patsubst Location:,,$(shell python3 -m pip show PSL | grep Location))
55
INSTALL_PATH_LEN = $(shell echo $(INSTALL_PATH) | wc -c)
66

77
all:
88
python3 setup.py build
99

10+
fullclean:
11+
# 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
12+
find /usr/* -name "PSL*" | xargs rm -rf
13+
find /usr/* -name "pslab*" | xargs rm -rf
14+
find /opt/* -name "pslab-*" | xargs rm -rf
15+
rm -rf /usr/bin/Experiments /usr/local/bin/Experiments
16+
1017
clean:
1118
# Remove build files
1219
@rm -rf docs/_*

0 commit comments

Comments
 (0)
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