Bug 31330 - po,mak: Не учитывается ALTERATOR_L10NDIR при формировании PO_DICTIONARY_FILES и PO_LANGUAGES
Summary: po,mak: Не учитывается ALTERATOR_L10NDIR при формировании PO_DICTIONARY_FILES...
Status: REOPENED
Alias: None
Product: Sisyphus
Classification: Development
Component: alterator (show other bugs)
Version: unstable
Hardware: all Linux
: P3 minor
Assignee: manowar@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords: alterator-platform-1.3, alterator-platform-1.4, l10n, patch, relnote
Depends on:
Blocks:
 
Reported: 2015-10-06 17:20 MSK by solo
Modified: 2015-10-13 16:10 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solo 2015-10-06 17:20:54 MSK
В предоставляемом /usr/share/alterator/build/po.mak, При формировании PO_DICTIONARY_FILES и PO_LANGUAGES не учитывается ALTERATOR_L10NDIR, но используется её дефолтное значение:

PO_DICTIONARY_FILES= $(wildcard /usr/share/alterator/l10n/*.po)
PO_FILES=$(wildcard po/*.po)
PO_LANGUAGES=$(sort $(PO_FILES:po/%.po=%) $(PO_DICTIONARY_FILES:/usr/share/alterator/l10n/%.po=%))

ALTERATOR_L10NDIR=/usr/share/alterator/l10n

Предлагаю переписать этот кусок так:

ALTERATOR_L10NDIR=/usr/share/alterator/l10n

PO_DICTIONARY_FILES= $(wildcard $(ALTERATOR_L10NDIR)/*.po)
PO_FILES=$(wildcard po/*.po)
PO_LANGUAGES=$(sort $(PO_FILES:po/%.po=%) $(PO_DICTIONARY_FILES:$(ALTERATOR_L10NDIR)/%.po=%))
Comment 2 Repository Robot 2015-10-13 16:07:38 MSK
installer-scripts-remount-stage2-0.5.2-alt1 -> sisyphus:

* Tue Oct 13 2015 Aleksey Avdeev <solo@altlinux> 0.5.2-alt1
- Add copying the libraries necessary for binaries copied (ALT#31330).
  To copy using a script /usr/share/make-initrd/tools/put-file
  belonging to an installable distribution.
Comment 3 solo 2015-10-13 16:10:39 MSK
(В ответ на комментарий №2)
> installer-scripts-remount-stage2-0.5.2-alt1 -> sisyphus:
> 
> * Tue Oct 13 2015 Aleksey Avdeev <solo@altlinux> 0.5.2-alt1
> - Add copying the libraries necessary for binaries copied (ALT#31330).
>   To copy using a script /usr/share/make-initrd/tools/put-file
>   belonging to an installable distribution.

Сорри: Не то закрыл...