aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--images/caution.pngbin0 -> 1250 bytes
-rw-r--r--images/important.pngbin0 -> 722 bytes
-rw-r--r--images/note.pngbin0 -> 490 bytes
-rw-r--r--images/tip.pngbin0 -> 449 bytes
-rw-r--r--images/warning.pngbin0 -> 1241 bytes
-rw-r--r--stylesheets/pdf/lfs-admon.xsl5
7 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 8e384012c..d4b88f8f2 100644
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,6 @@ DUMPDIR=~/lfs-commands
CHUNK_QUIET=0
PDF_OUTPUT=LFS-BOOK.pdf
NOCHUNKS_OUTPUT=LFS-BOOK.html
-XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-1.69.1
-
lfs:
xsltproc --xinclude --nonet -stringparam profile.condition html \
@@ -19,8 +17,7 @@ lfs:
if [ ! -e $(BASEDIR)/images ]; then \
mkdir -p $(BASEDIR)/images; \
fi;
- cp $(XSLROOTDIR)/images/*.png \
- $(BASEDIR)/images
+ cp images/*.png $(BASEDIR)/images
cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" \
*.html
cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
diff --git a/images/caution.png b/images/caution.png
new file mode 100644
index 000000000..5b7809ca4
--- /dev/null
+++ b/images/caution.png
Binary files differ
diff --git a/images/important.png b/images/important.png
new file mode 100644
index 000000000..12c90f607
--- /dev/null
+++ b/images/important.png
Binary files differ
diff --git a/images/note.png b/images/note.png
new file mode 100644
index 000000000..d0c3c645a
--- /dev/null
+++ b/images/note.png
Binary files differ
diff --git a/images/tip.png b/images/tip.png
new file mode 100644
index 000000000..5c4aab3bb
--- /dev/null
+++ b/images/tip.png
Binary files differ
diff --git a/images/warning.png b/images/warning.png
new file mode 100644
index 000000000..1c33db8f3
--- /dev/null
+++ b/images/warning.png
Binary files differ
diff --git a/stylesheets/pdf/lfs-admon.xsl b/stylesheets/pdf/lfs-admon.xsl
index b04a4a11e..3f444447d 100644
--- a/stylesheets/pdf/lfs-admon.xsl
+++ b/stylesheets/pdf/lfs-admon.xsl
@@ -7,8 +7,7 @@
<!-- Graphics in admonitions -->
<xsl:param name="admon.graphics" select="1"/>
- <xsl:param name="admon.graphics.path"
- select="'/usr/share/xml/docbook/xsl-stylesheets-1.69.1/images/'"/>
+ <xsl:param name="admon.graphics.path" select="'images/'"/>
<!-- Admonition block properties -->
<xsl:template match="important|warning|caution">
@@ -92,4 +91,4 @@
</fo:block>
</xsl:template>
-</xsl:stylesheet> \ No newline at end of file
+</xsl:stylesheet>