We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2f9c64 commit 1902d92Copy full SHA for 1902d92
Makefile
@@ -1,12 +1,19 @@
1
DESTDIR =
2
3
+# Find library installation path
4
+INSTALL_PATH = $(patsubst Location:,,$(shell pip show PSL | grep Location))
5
+INSTALL_PATH_LEN = $(shell echo $(INSTALL_PATH) | wc -c)
6
+
7
all:
8
python setup.py build
9
10
clean:
11
+ # Remove build files
12
@rm -rf docs/_*
13
@rm -rf PSL.egg-info build
14
@find . -name "*~" -o -name "*.pyc" -o -name "__pycache__" | xargs rm -rf
15
+ # Remove previously installed library files if there is any
16
+ if [ ${INSTALL_PATH_LEN} -gt 2 ]; then sudo rm -rf $(INSTALL_PATH)/PSL $(INSTALL_PATH)/PSL-1* ; fi
17
18
install:
19
python setup.py install
0 commit comments