Fork of TinyCA2 because of discontinued upstream
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

25 lines
483 B

POTFILES=$(wildcard ../lib/*.pm) $(wildcard ../lib/GUI/*.pm) ../tinyca2
all: $(CATALOGS)
msgfmt -o $@ $<
install -m 644 $@ ../locale/`basename $@ .mo`/LC_MESSAGES/
%.po: tinyca2.pot
msgmerge -vU $@ tinyca2.pot
tinyca2.pot: $(POTFILES)
xgettext --add-comments \
--keyword=_ \
--keyword=N_ \
--language=C \
-o tinyca2.pot \
rm -f $(CATALOGS)
rm -f tinyca2.pot
.SUFFIXES: .po .pot .mo