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 ...@@ -38,7 +38,7 @@ SUFFIXES=.po .mo
.po.mo: .po.mo:
$(MSGFMT) -o $@ $< $(MSGFMT) -o $@ $<
install-data-local: install-data-local: $(MOFILES)
@catalogs='$(MOFILES)'; \ @catalogs='$(MOFILES)'; \
for i in $$catalogs; do \ for i in $$catalogs; do \
destdir=$(locale_installdir); \ destdir=$(locale_installdir); \
...@@ -58,4 +58,4 @@ uninstall-local: ...@@ -58,4 +58,4 @@ uninstall-local:
done done
clean-local: clean-local:
rm -rf *.mo rm -f $(MOFILES)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment