diff --git a/Makefile b/Makefile index 121cdefe..cd699712 100644 --- a/Makefile +++ b/Makefile @@ -7,23 +7,29 @@ INSTALL_PATH_LEN = $(shell echo $(INSTALL_PATH) | wc -c) all: python3 setup.py build -fullclean: +fullcleanup: verifyFiles # 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 + find /usr/* -name "PSL*" -type d | xargs rm -rf + find /usr/* -name "pslab*" -type d | xargs rm -rf + find /opt/* -name "pslab-*" -type d | xargs rm -rf + find /usr/* -name "Experiments" -type f | xargs rm -rf + @echo "All selected files are deleted.." + +verifyFiles: + @find /usr/* -name "PSL*" -type d + @find /usr/* -name "pslab*" -type d + @find /opt/* -name "pslab-*" -type d + @find /usr/* -name "Experiments" -type f + @echo -n "Confirm if you want to remove all these files.. [Y/N] " && read ans && [ $${ans:-N} = Y ] clean: # Remove build files @rm -rf docs/_* @rm -rf PSL.egg-info build @find . -name "*~" -o -name "*.pyc" -o -name "__pycache__" | xargs rm -rf - # Remove previously installed library files if there is any if [ ${INSTALL_PATH_LEN} -gt 2 ]; then sudo rm -rf $(INSTALL_PATH)/PSL $(INSTALL_PATH)/PSL-1* ; fi install: python3 setup.py install - # rules for udev mkdir -p $(DESTDIR)/lib/udev/rules.d install -m 644 99-pslab.rules $(DESTDIR)/lib/udev/rules.d/99-pslab 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