source: share/Makefile @ 3b02b04

Last change on this file since 3b02b04 was 3b02b04, checked in by Tomasz Obrebski <to@…>, 11 years ago

prawie ca�kiem nowe dgc, du�e zmiany w dgp, pomniejsze poprawki

  • Property mode set to 100644
File size: 1.2 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/lem.fst $(LANG_DIR)/pl_PL.ISO-8859-2
12        install -m 0644 pl_PL.ISO-8859-2/lem.cats $(LANG_DIR)/pl_PL.ISO-8859-2
13        install -m 0644 pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym $(LANG_DIR)/pl_PL.ISO-8859-2
14        install -m 0644 pl_PL.UTF-8/lem.bin $(LANG_DIR)/pl_PL.UTF-8
15        install -m 0644 gram.dgc $(LANG_DIR)
16        install -m 0644 weights.kor $(LANG_DIR)
17endif
18
19.PHONY: uninstall
20uninstall:
21ifdef LANG_DIR
22        rm $(LANG_DIR)/weights.kor
23        rm $(LANG_DIR)/gram.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.cats
27        rm $(LANG_DIR)/pl_PL.ISO-8859-2/lem.bin
28        rm $(LANG_DIR)/pl_PL.ISO-8859-2/lem.fst
29        rm $(LANG_DIR)/pl_PL.ISO-8859-2/gue.bin
30        rm $(LANG_DIR)/pl_PL.ISO-8859-2/cor.bin
31        rmdir $(LANG_DIR)/pl_PL.ISO-8859-2
32        rmdir $(LANG_DIR)/pl_PL.UTF-8
33endif
Note: See TracBrowser for help on using the repository browser.