From: Hans-Christoph Steiner Date: Thu, 19 Oct 2017 16:02:00 +0000 (+0200) Subject: update localization source files with `make -C locale` X-Git-Tag: 0.9~50^2~4 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=35c7c1e8051fb490ce4f11c0401533d04a47269e;p=fdroidserver.git update localization source files with `make -C locale` * `make -C locale` updates all the sources * `make -C locale compile` can compile the binaries, but the preferred way is `python3 setup.py compile_catalog`. --- diff --git a/locale/Makefile b/locale/Makefile index 3bbd79e7..32096093 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -13,16 +13,16 @@ TEMPLATE = fdroidserver.pot VERSION = $(shell git describe) +# refresh everything from the source code +update: $(POFILES) + # generate .mo files from the .po files -all-local: $(MOFILES) +compile: $(MOFILES) -clean-local: +clean: -rm -f -- $(MOFILES) -rm -f -- $(POFILES:=~) -# refresh everything from the source code -update: $(POFILES) - $(TEMPLATE): $(FILES) xgettext --join-existing --from-code=UTF-8 \ --language=Python --keyword=_ \ @@ -40,4 +40,4 @@ $(TEMPLATE): $(FILES) msgfmt --check -o $@ $(@:mo=po) -.PHONY = all-local clean-local template +.PHONY = compile clean update