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) -# generate .mo files from the .po files -all-local: $(MOFILES) - -clean-local: - -rm -f -- $(MOFILES) - -rm -f -- $(POFILES:=~) - # refresh everything from the source code update: $(POFILES) +# generate .mo files from the .po files +compile: $(MOFILES) + +clean: + -rm -f -- $(MOFILES) + -rm -f -- $(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