at least for gentoo the default location of docbook-xsl/xhtml.xsl...
...was changed to /usr/share/asciidoc/docbook-xsl/xhtml.xsl instead of /etc/asciidoc/docbook-xsl/xhtml.xsl reflect this in our build systems
This commit is contained in:
parent
cb4da595eb
commit
fa4ffa3615
2 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ if(ENABLE_POT_UPDATE_TARGET)
|
|||
COMMAND ${DOS2UNIX_EXECUTABLE} manual.en.xml
|
||||
COMMAND ${XSLTPROC_EXECUTABLE} ${XSLTPROC_OPTIONS}
|
||||
-o manual.en.html
|
||||
/etc/asciidoc/docbook-xsl/xhtml.xsl
|
||||
/usr/share/asciidoc/docbook-xsl/xhtml.xsl
|
||||
manual.en.xml
|
||||
DEPENDS manual.txt
|
||||
COMMENT "[update-po4a-manual] Building manual.xml."
|
||||
|
@ -75,7 +75,7 @@ if(ENABLE_POT_UPDATE_TARGET)
|
|||
# executes if the .html file exists.
|
||||
set(CMD "${XSLTPROC_EXECUTABLE} ${XSLTPROC_OPTIONS}")
|
||||
set(CMD "${CMD} -o manual.${LINGUA}.html")
|
||||
set(CMD "${CMD} /etc/asciidoc/docbook-xsl/xhtml.xsl")
|
||||
set(CMD "${CMD} /usr/share/asciidoc/docbook-xsl/xhtml.xsl")
|
||||
set(CMD "${CMD} manual.${LINGUA}.xml")
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/manual.${LINGUA}.html
|
||||
|
|
|
@ -17,7 +17,7 @@ if "manual" in COMMAND_LINE_TARGETS or "update-po4a" in COMMAND_LINE_TARGETS or
|
|||
--stringparam admon.textlabel 1 \
|
||||
--stringparam admon.graphics 0 \
|
||||
--stringparam html.stylesheet ./styles/manual.css \
|
||||
/etc/asciidoc/docbook-xsl/xhtml.xsl \
|
||||
/usr/share/asciidoc/docbook-xsl/xhtml.xsl \
|
||||
%s > %s' % (SOURCE, TARGET) \
|
||||
or '@echo Skipped non-existant %s' % SOURCE} \
|
||||
""")
|
||||
|
|
Loading…
Add table
Reference in a new issue