Fix makefile
[dict-sr:dict-sr-oxt.git] / Makefile
1 dict: clean description.xml
2         mkdir build
3         cp hunspell-sr/sr.aff hunspell-sr/sr.dic hunspell-sr/sr-Latn.aff hunspell-sr/sr-Latn.dic build/
4         cp hyphen-sr/hyph_sr.dic hyphen-sr/hyph_sr-Latn.dic build/
5         cp -r description.xml dictionaries.xcu registration META-INF build/
6         cd build; zip -r dict-sr .
7         mv build/dict-sr.zip dict-sr.oxt
8
9 description.xml: description.xml.in VERSION
10         sed -e "s/{VERSION}/`cat VERSION`/" < description.xml.in > description.xml
11
12 clean:
13         rm -fr build
14         rm -f description.xml
15
16 .PHONY: dict clean