Commit e7151e40 authored by Jan Kiszka's avatar Jan Kiszka
Browse files

doc: Look for asciidoc images also in /etc

This is where OpenSUSE puts them, maybe others as well.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent 2c257500
......@@ -106,9 +106,13 @@ $(tmpdir)/%.txt: %.adoc Makefile plaintext.conf plaintext.xsl
$(RM) -R asciidoc-icons
@test -d /usr/share/doc/asciidoc/images/ && \
cp -a /usr/share/doc/asciidoc/images/icons/ html/asciidoc-icons || \
cp -a /usr/share/asciidoc/images/icons/ html/asciidoc-icons
@if test -d /usr/share/doc/asciidoc/images/; then \
cp -a /usr/share/doc/asciidoc/images/icons/ html/asciidoc-icons; \
elif test -d /usr/share/asciidoc/images/icons/; then \
cp -a /usr/share/asciidoc/images/icons/ html/asciidoc-icons; \
else \
cp -a /etc/asciidoc/images/icons/ html/asciidoc-icons; \
html/asciidoc-icons/callouts: html/asciidoc-icons
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment