1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Convert to new suffix rule and make install-local depend on all-local

This commit is contained in:
Jonas Fonseca 2005-10-20 03:33:35 +02:00 committed by Jonas Fonseca
parent 6b2d12c1fe
commit a617d5b140

View File

@ -15,10 +15,7 @@ POTFILES_ABS_LIST = potfiles.list
SUFFIXES = .po .gmo .mo
.SUFFIXES: .gmo .mo .po
.po.mo:
$(MSGFMT) -o $@ $<
.po.gmo:
%.gmo: %.po
@file=`echo $* | sed 's,.*/,,'`.gmo \
&& rm -f $$file && echo -n $*": " \
&& $(GMSGFMT) --statistics -o $$file $<
@ -99,7 +96,7 @@ check-po:
install-local: install-local-$(CONFIG_NLS)
install-local-no:
install-local-yes:
install-local-yes: all-local
$(MKINSTALLDIRS) $(DESTDIR)$(localedir)
@$(foreach lang,$(basename $(if $(strip $(PO)),$(PO),$(CATALOGS))), \
$(MKINSTALLDIRS) $(DESTDIR)$(localedir)/$(lang)/LC_MESSAGES; \