mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
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`.
This commit is contained in:
parent
49bd5a6462
commit
35c7c1e805
@ -13,16 +13,16 @@ TEMPLATE = fdroidserver.pot
|
|||||||
|
|
||||||
VERSION = $(shell git describe)
|
VERSION = $(shell git describe)
|
||||||
|
|
||||||
# generate .mo files from the .po files
|
|
||||||
all-local: $(MOFILES)
|
|
||||||
|
|
||||||
clean-local:
|
|
||||||
-rm -f -- $(MOFILES)
|
|
||||||
-rm -f -- $(POFILES:=~)
|
|
||||||
|
|
||||||
# refresh everything from the source code
|
# refresh everything from the source code
|
||||||
update: $(POFILES)
|
update: $(POFILES)
|
||||||
|
|
||||||
|
# generate .mo files from the .po files
|
||||||
|
compile: $(MOFILES)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm -f -- $(MOFILES)
|
||||||
|
-rm -f -- $(POFILES:=~)
|
||||||
|
|
||||||
$(TEMPLATE): $(FILES)
|
$(TEMPLATE): $(FILES)
|
||||||
xgettext --join-existing --from-code=UTF-8 \
|
xgettext --join-existing --from-code=UTF-8 \
|
||||||
--language=Python --keyword=_ \
|
--language=Python --keyword=_ \
|
||||||
@ -40,4 +40,4 @@ $(TEMPLATE): $(FILES)
|
|||||||
msgfmt --check -o $@ $(@:mo=po)
|
msgfmt --check -o $@ $(@:mo=po)
|
||||||
|
|
||||||
|
|
||||||
.PHONY = all-local clean-local template
|
.PHONY = compile clean update
|
||||||
|
Loading…
Reference in New Issue
Block a user