Skip to content

feat: upgrade makefile to cleanup old libs #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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/_*
Expand Down
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