forked from maslinych/daba
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 876 Bytes
/
Makefile
File metadata and controls
30 lines (22 loc) · 876 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
PROJECT=daba
VERSION := $(shell git describe --abbrev=4)
WINFILES = newmorph.py orthography.py grammar.py formats.py ntgloss.py gparser.pyw mparser.py gdisamb.pyw plugins/*.py metaprint.py wordparser.py dabased.py ad-hoc/daba2vert.py meta.py __init__.py meta.cfg TextCtrlAutoComplete.py intervaltree/*.py sortedcontainers/*.py
RESOURCES = run/
FUNCPARSERLIB = /usr/lib/python2.7/site-packages/funcparserlib
PYTRIE = pytrie.py
DOC = doc/LICENSE doc/PyTrie-LICENSE doc/README.ru.txt doc/html/ doc/samples/* doc/meta.readme.txt doc/meta.xml
.PHONY: %.pyw
%.pyw: %.py
cp $< $@
default: win-bundled
funcparserlib:
cp -r $(FUNCPARSERLIB) .
pytrie:
cp $(PYTRIE) .
docs:
pushd doc
make html
mv _build/html .
popd
win-bundled: $(WINFILES) $(RESOURCES) funcparserlib doc
zip -r $(PROJECT)-$(VERSION).zip $(WINFILES) $(RESOURCES) $(DOC) funcparserlib/ pytrie.py -x run/*