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

Support for make install PO=<lang>.

This commit is contained in:
Laurent MONIN 2005-10-18 12:16:12 +02:00 committed by Laurent MONIN
parent dd3702ca5f
commit 8fd7b64dff

View File

@ -96,7 +96,7 @@ install-local: install-local-$(CONFIG_NLS)
install-local-no: install-local-no:
install-local-yes: install-local-yes:
$(MKINSTALLDIRS) $(DESTDIR)$(localedir) $(MKINSTALLDIRS) $(DESTDIR)$(localedir)
@$(foreach lang,$(basename $(CATALOGS)), \ @$(foreach lang,$(basename $(if $(strip $(PO)),$(PO),$(CATALOGS))), \
$(MKINSTALLDIRS) $(DESTDIR)$(localedir)/$(lang)/LC_MESSAGES; \ $(MKINSTALLDIRS) $(DESTDIR)$(localedir)/$(lang)/LC_MESSAGES; \
$(call ncmd,installdata,$(lang).gmo,$(DESTDIR)$(localedir)/$(lang)/LC_MESSAGES/$(PACKAGE).mo); \ $(call ncmd,installdata,$(lang).gmo,$(DESTDIR)$(localedir)/$(lang)/LC_MESSAGES/$(PACKAGE).mo); \
) )