Skip to content
Snippets Groups Projects
Commit 7fb6a39a authored by Jonas Fonseca's avatar Jonas Fonseca
Browse files

Tweak mo clean and install targets

This ensures that .mo files are up-to-date when using `make install`.
Before you had to first run `make`.
parent 74e25ace
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ SUFFIXES=.po .mo
.po.mo:
$(MSGFMT) -o $@ $<
install-data-local:
install-data-local: $(MOFILES)
@catalogs='$(MOFILES)'; \
for i in $$catalogs; do \
destdir=$(locale_installdir); \
......@@ -58,4 +58,4 @@ uninstall-local:
done
clean-local:
rm -rf *.mo
rm -f $(MOFILES)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment