-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (34 loc) · 742 Bytes
/
Copy pathMakefile
File metadata and controls
43 lines (34 loc) · 742 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
all: run
.PHONY: all run debug pdf display clean release env build
run:
python3 fontawesome-latex.py
debug:
python3 fontawesome-latex.py --debug
xelatex pdf build:
cd output && \
xelatex fontawesome.tex
xdg-open display:
xdg-open output/fontawesome.pdf
env venv:
virtualenv --python=python3 --always-copy .env && \
. .env/bin/activate && \
pip install -r requirements.txt
echo "Virtual environment created!"
echo ""
echo "Type:"
echo " source .env/bin/activate"
release:
-rm release.zip
-rm -rf output/*.aux
-rm -rf output/*.log
cd release && \
zip ../release.zip README.md
cd output && \
zip ../release.zip ./* ./fonts/*
clean:
-rm -rf tmp
-rm -rf output
-rm texput.log
clean-env:
rm -rf .env
$(V).SILENT: