source: share/Makefile @ 5f4d9c3

Last change on this file since 5f4d9c3 was 5f4d9c3, checked in by Maciej Prill <mprill@…>, 12 years ago

Rewritten the build system, added lem UTF-8 version.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1include ../config.mak
2
3.PHONY: install
4install:
5ifdef LANG_DIR
6        install -d $(LANG_DIR)/pl_PL.ISO-8859-2
7        install -d $(LANG_DIR)/pl_PL.UTF-8
8        install -m 0644 pl_PL.ISO-8859-2/cor.bin $(LANG_DIR)/pl_PL.ISO-8859-2
9        install -m 0644 pl_PL.ISO-8859-2/gue.bin $(LANG_DIR)/pl_PL.ISO-8859-2
10        install -m 0644 pl_PL.ISO-8859-2/lem.bin $(LANG_DIR)/pl_PL.ISO-8859-2
11        install -m 0644 pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym $(LANG_DIR)/pl_PL.ISO-8859-2
12        install -m 0644 pl_PL.UTF-8/lem.bin $(LANG_DIR)/pl_PL.UTF-8
13        install -m 0644 cats.dgc $(LANG_DIR)
14        install -m 0644 gram.dgc $(LANG_DIR)
15        install -m 0644 weights.kor $(LANG_DIR)
16endif
17
18.PHONY: uninstall
19uninstall:
20ifdef LANG_DIR
21        rm $(LANG_DIR)/weights.kor
22        rm $(LANG_DIR)/gram.dgc
23        rm $(LANG_DIR)/cats.dgc
24        rm $(LANG_DIR)/pl_PL.UTF-8/lem.bin
25        rm $(LANG_DIR)/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym
26        rm $(LANG_DIR)/pl_PL.ISO-8859-2/lem.bin
27        rm $(LANG_DIR)/pl_PL.ISO-8859-2/gue.bin
28        rm $(LANG_DIR)/pl_PL.ISO-8859-2/cor.bin
29        rmdir $(LANG_DIR)/pl_PL.ISO-8859-2
30        rmdir $(LANG_DIR)/pl_PL.UTF-8
31endif
Note: See TracBrowser for help on using the repository browser.