source: conf/Makefile

Last change on this file was abd28d1, checked in by Tomasz Obrebski <to@…>, 12 years ago

fixed further bugs around compdic
cats file renamed and moved
config files updated

  • Property mode set to 100644
File size: 1.1 KB
Line 
1include ../config.mak
2
3.PHONY: all
4all: compdic.conf cor.conf dgc.conf dgp.conf gph.conf grp.conf gue.conf kor.conf lem.conf mar.conf ser.conf utt.conf
5
6%.conf: %.conf.m4
7        m4 --define=LANG_DIR=${LANG_DIR} --define=LIB_DIR=${LIB_DIR} --define=LANGUAGE=${LANGUAGE} $< > $@
8
9
10.PHONY: clean
11clean:
12        rm *.conf
13
14.PHONY: install
15install:
16ifdef CONF_DIR
17        install -m 0644 compdic.conf $(CONF_DIR)
18        install -m 0644 cor.conf $(CONF_DIR)
19        install -m 0644 dgc.conf $(CONF_DIR)
20        install -m 0644 dgp.conf $(CONF_DIR)
21        install -m 0644 gph.conf $(CONF_DIR)
22        install -m 0644 grp.conf $(CONF_DIR)
23        install -m 0644 gue.conf $(CONF_DIR)
24        install -m 0644 kor.conf $(CONF_DIR)
25        install -m 0644 lem.conf $(CONF_DIR)
26        install -m 0644 mar.conf $(CONF_DIR)
27        install -m 0644 ser.conf $(CONF_DIR)
28        install -m 0644 utt.conf $(CONF_DIR)
29endif
30
31.PHONY: uninstall
32uninstall:
33ifdef CONF_DIR
34        rm $(CONF_DIR)/compdic.conf
35        rm $(CONF_DIR)/cor.conf
36        rm $(CONF_DIR)/dgc.conf
37        rm $(CONF_DIR)/dgp.conf
38        rm $(CONF_DIR)/gph.conf
39        rm $(CONF_DIR)/grp.conf
40        rm $(CONF_DIR)/gue.conf
41        rm $(CONF_DIR)/kor.conf
42        rm $(CONF_DIR)/lem.conf
43        rm $(CONF_DIR)/mar.conf
44        rm $(CONF_DIR)/ser.conf
45        rm $(CONF_DIR)/utt.conf
46endif
Note: See TracBrowser for help on using the repository browser.