forked from dorneanu/smalisca
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 766 Bytes
/
Makefile
File metadata and controls
28 lines (22 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Makefile for smalisca
#
PYTHON = `which python`
SETUPFILE = setup.py
INSTALLFILES = install.record
BUILDDIRS = build dist smalisca.egg-info
help:
@echo "----------------------------------------------------------------------"
@echo "Please use 'make <target>' where <target> is one of"
@echo " install to install smalisca"
@echo " uninstall to remove smalisca"
@echo " clean to clean directory"
@echo "----------------------------------------------------------------------"
clean:
rm -rf ${BUILDDIRS}
install:
${PYTHON} setup.py install --record ${INSTALLFILES}
@echo -e "\n\n* SUCCESS: Install complete."
uninstall:
cat ${INSTALLFILES} | xargs rm -rf
@echo -e "\n\n* SUCCESS: Uninstall complete."
rm ${INSTALLFILES}