* `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`.
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=_ \
msgfmt --check -o $@ $(@:mo=po)
-.PHONY = all-local clean-local template
+.PHONY = compile clean update