-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
38 lines (28 loc) · 810 Bytes
/
Makefile
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
29
30
31
32
33
34
35
36
37
all :
@echo "Run \`make workflow\` to create the Alfred workflow file after removing the old one if it exists."
distclean :
rm -f ./alfred-safari-history.alfredworkflow
clean :
rm -f alfred.py
rm -f docopt.py
rm -rf venv
find . -iname "*.pyc" -delete
venv : venv/bin/activate
venv/bin/activate : requirements.txt
test -d venv || virtualenv venv
. venv/bin/activate
touch venv/bin/activate
install : venv
. venv/bin/activate
pip install -r requirements.txt
lib :
cp `python sitepackages.py`/alfred.py alfred.py
cp `python sitepackages.py`/docopt.py docopt.py
dev : install \
lib
zip :
zip -r ./alfred-safari-history.alfredworkflow . -x "*.git*" "*venv*" .gitignore Makefile History requirements.txt README.md sitepackages.py screenshot.png
workflow : distclean \
install \
lib \
zip