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:
parent
dd3702ca5f
commit
8fd7b64dff
@ -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); \
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user