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
|
LANGS = cs de es fr hu it ja pl pt_BR zh_CN
POCOMP = ./pocomp.pl
HARVEST = ./harvest.pl
DICTS = eboard.cs.dict eboard.de.dict eboard.es.dict eboard.fr.dict eboard.hu.dict eboard.it.dict eboard.ja.dict eboard.pl.dict eboard.pt_BR.dict eboard.zh_CN.dict
dicts: $(DICTS)
%.dict : %.po
$(POCOMP) < $< > $@
update:
$(HARVEST)
# all targets below this point should be called from the parent directory's
# Makefile, or the vars they use will have bogus values
install-nls: $(DICTS)
$(INSTALL) -d $(datadir)
$(INSTALL) -m 0644 $(DICTS) $(datadir)
uninstall-nls:
for p in $(DICTS); do rm -f $(datadir)/$$p ; done
EXTRADIST = README Makefile pocomp.pl harvest.pl harvest.in eboard.hemp eboard.cs.po eboard.de.po eboard.es.po eboard.fr.po eboard.hu.po eboard.it.po eboard.ja.po eboard.pl.po eboard.pt_BR.po
dist: $(DICTS)
cp -f $(DICTS) $(EXTRADIST) ../$(DIST)/multilang
|