diff options
Diffstat (limited to 'meta/classes/compress_doc.bbclass')
-rw-r--r-- | meta/classes/compress_doc.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/compress_doc.bbclass b/meta/classes/compress_doc.bbclass index d6d11fad26..379b6c169e 100644 --- a/meta/classes/compress_doc.bbclass +++ b/meta/classes/compress_doc.bbclass | |||
@@ -8,7 +8,7 @@ | |||
8 | # | 8 | # |
9 | # 3. It is easy to add a new type compression by editing | 9 | # 3. It is easy to add a new type compression by editing |
10 | # local.conf, such as: | 10 | # local.conf, such as: |
11 | # DOC_COMPRESS_LIST_append = ' abc' | 11 | # DOC_COMPRESS_LIST:append = ' abc' |
12 | # DOC_COMPRESS = 'abc' | 12 | # DOC_COMPRESS = 'abc' |
13 | # DOC_COMPRESS_CMD[abc] = 'abc compress cmd ***' | 13 | # DOC_COMPRESS_CMD[abc] = 'abc compress cmd ***' |
14 | # DOC_DECOMPRESS_CMD[abc] = 'abc decompress cmd ***' | 14 | # DOC_DECOMPRESS_CMD[abc] = 'abc decompress cmd ***' |
@@ -225,7 +225,7 @@ python compress_doc_updatealternatives () { | |||
225 | infodir = d.getVar("infodir") | 225 | infodir = d.getVar("infodir") |
226 | compress_mode = d.getVar('DOC_COMPRESS') | 226 | compress_mode = d.getVar('DOC_COMPRESS') |
227 | for pkg in (d.getVar('PACKAGES') or "").split(): | 227 | for pkg in (d.getVar('PACKAGES') or "").split(): |
228 | old_names = (d.getVar('ALTERNATIVE_%s' % pkg) or "").split() | 228 | old_names = (d.getVar('ALTERNATIVE:%s' % pkg) or "").split() |
229 | new_names = [] | 229 | new_names = [] |
230 | for old_name in old_names: | 230 | for old_name in old_names: |
231 | old_link = d.getVarFlag('ALTERNATIVE_LINK_NAME', old_name) | 231 | old_link = d.getVarFlag('ALTERNATIVE_LINK_NAME', old_name) |
@@ -258,6 +258,6 @@ python compress_doc_updatealternatives () { | |||
258 | new_names.append(new_name) | 258 | new_names.append(new_name) |
259 | 259 | ||
260 | if new_names: | 260 | if new_names: |
261 | d.setVar('ALTERNATIVE_%s' % pkg, ' '.join(new_names)) | 261 | d.setVar('ALTERNATIVE:%s' % pkg, ' '.join(new_names)) |
262 | } | 262 | } |
263 | 263 | ||