Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 354203
Collapse All | Expand All

(-)/usr/portage/eclass/base.eclass (+12 lines)
Lines 34-39 Link Here
34
#
34
#
35
# HTML_DOCS=( "${S}/doc/document.html" "${S}/doc/html_folder/" )
35
# HTML_DOCS=( "${S}/doc/document.html" "${S}/doc/html_folder/" )
36
36
37
# @ECLASS-VARIABLE: MANPAGES
38
# @DESCRIPTION:
39
# Array containing manpages passed to doman command.
40
#
41
# MANPAGES=( "${S}/doc/manpage.1" )
42
37
# @ECLASS-VARIABLE: PATCHES
43
# @ECLASS-VARIABLE: PATCHES
38
# @DESCRIPTION:
44
# @DESCRIPTION:
39
# PATCHES array variable containing all various patches to be applied.
45
# PATCHES array variable containing all various patches to be applied.
Lines 181-186 Link Here
181
			dohtml -r "${x}" || die "dohtml failed"
187
			dohtml -r "${x}" || die "dohtml failed"
182
		done
188
		done
183
	fi
189
	fi
190
	if [[ "$(declare -p MANPAGES 2>/dev/null 2>&1)" == "declare -a"* ]]; then
191
		for x in "${MANPAGES[@]}"; do
192
			debug-print "$FUNCNAME: docs: creating man pages from ${x}"
193
			doman "${x}" || die "doman failed"
194
		done
195
	fi
184
196
185
	popd > /dev/null
197
	popd > /dev/null
186
}
198
}

Return to bug 354203