Fix a build breakage when the www tree is unavailable.
Spotted by: nyan Pointy hat to: hrs
This commit is contained in:
parent
0ce8eaa6b5
commit
3fb588c919
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25693
2 changed files with 5 additions and 1 deletions
|
@ -93,7 +93,9 @@ LANGCODE?= ${_LANGCODE}
|
||||||
_WWW_LANGCODE!= ${ECHO} ${WEB_PREFIX}/*
|
_WWW_LANGCODE!= ${ECHO} ${WEB_PREFIX}/*
|
||||||
_WWW2_LANGCODE!= ${ECHO} ${_WWW_LANGCODE:T} |\
|
_WWW2_LANGCODE!= ${ECHO} ${_WWW_LANGCODE:T} |\
|
||||||
${SED} -e 's,.*\(${LANGCODE:R:C,(..)_.*,\1,}[^. ]*\).*,\1,'
|
${SED} -e 's,.*\(${LANGCODE:R:C,(..)_.*,\1,}[^. ]*\).*,\1,'
|
||||||
.if ${_WWW_LANGCODE:T} == ${_WWW2_LANGCODE}
|
.if ${_WWW_LANGCODE:T} == "*"
|
||||||
|
_WWW_LANGCODE:= .
|
||||||
|
.elif ${_WWW_LANGCODE:T} == ${_WWW2_LANGCODE}
|
||||||
_WWW_LANGCODE:= .
|
_WWW_LANGCODE:= .
|
||||||
.else
|
.else
|
||||||
_WWW_LANGCODE:= ${_WWW2_LANGCODE}
|
_WWW_LANGCODE:= ${_WWW2_LANGCODE}
|
||||||
|
|
|
@ -8,11 +8,13 @@ XML_CATALOG_FILES= file://${DOC_PREFIX}/${LANGCODE}/share/sgml/catalog.xml \
|
||||||
file://${WEB_PREFIX}/share/sgml/catalog-common.xml \
|
file://${WEB_PREFIX}/share/sgml/catalog-common.xml \
|
||||||
file://${LOCALBASE}/share/xml/catalog
|
file://${LOCALBASE}/share/xml/catalog
|
||||||
|
|
||||||
|
.if exists(${WEB_PREFIX}/share/sgml/includes.xsl)
|
||||||
XML_INCLUDES= ${WEB_PREFIX}/${WWW_LANGCODE}/includes.xsl \
|
XML_INCLUDES= ${WEB_PREFIX}/${WWW_LANGCODE}/includes.xsl \
|
||||||
${WEB_PREFIX}/share/sgml/includes.header.xsl \
|
${WEB_PREFIX}/share/sgml/includes.header.xsl \
|
||||||
${WEB_PREFIX}/share/sgml/includes.misc.xsl \
|
${WEB_PREFIX}/share/sgml/includes.misc.xsl \
|
||||||
${WEB_PREFIX}/share/sgml/includes.release.xsl \
|
${WEB_PREFIX}/share/sgml/includes.release.xsl \
|
||||||
${WEB_PREFIX}/share/sgml/includes.xsl
|
${WEB_PREFIX}/share/sgml/includes.xsl
|
||||||
|
.endif
|
||||||
|
|
||||||
# Variables used in DEPENDSET
|
# Variables used in DEPENDSET
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue