-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
Makefile
46 lines (39 loc) · 929 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
38
39
40
41
42
43
44
45
#/usr/bin/sh
# Build pyArabic package
default: all
# Clean build files
clean:
backup:
#create all files
all:
install:
sudo python setup.py install
install3:
sudo python3 setup.py install
# Publish to github
publish:
git push origin master
md2html:
pandoc -s -r markdown -w html README.md -o README.html
md2rst:
pandoc -s -r markdown -w rst doc/features.md -o docs/features.rst
pandoc -s -r markdown -w rst README.md -o docs/README.rst
wheel:
sudo python setup.py bdist_wheel
wheel3:
sudo python3 setup.py bdist_wheel
sdist:
sudo python3 setup.py sdist
upload:
echo "use twine upload dist/PyArabic-0.6.1.tar.gz"
test:
python -m unittest discover tests
test3:
python3 -m unittest discover tests
doc:
#epydoc -v --config epydoc.conf
cd docs; make html
paper:
pandoc paper.md --citeproc --bibliography paper.bib -t latex -o paper.pdf
# remove any invisible char
# sed -i "s/$(echo -ne '\u200b')//g" file