Commit 9bd4e110 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix po build

parent 5ce5fcef
MSGFMT = msgfmt -v
MSGMERGE = msgmerge
MSGMERGE_UPDATE = msgmerge --update
MSGINIT = msginit
MSGCONV = msgconv
MSGFILTER = msgfilter
all: etersoft-build-utils.mo
etersoft-build-utils.mo: etersoft-build-utils.po
$(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
etersoft-build-utils.pot: ../share/common ../tools/upload-to-alt Makefile
ls -1 -d ../bin/* | xargs xgettext -a -o $@ -L Shell --from-code=koi8-r $^ || :
etersoft-build-utils.po: etersoft-build-utils.pot
$(MSGMERGE_UPDATE) $@ $<
install: etersoft-build-utils.mo
install -D $< $(DESTDIR)$(datadir)/locale/ru/LC_MESSAGES/$<
clean:
rm -f etersoft-build-utils.mo
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment