aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-07-02 20:40:21 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-07-02 20:40:21 +0000
commit1e8bbd5a0b88ca63ad5157bd0edd651a507cbaf1 (patch)
tree7e674e32f3d6239c56b631441836223c20d3c4fa /Makefile
parent3ca39786bbe70c0ca955f1a603d244364482f57a (diff)
Copy images referenced by the nochunks output somewhere that is visible by the HTML file
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6344 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 625612e4d..f016e5c92 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,14 @@ nochunks:
sed -i -e "s@text/html@application/xhtml+xml@g" \
$(BASEDIR)/$(NOCHUNKS_OUTPUT)
+ if [ ! -e $(BASEDIR)/images ]; then \
+ mkdir -p $(BASEDIR)/images; \
+ fi;
+ cp $(XSLROOTDIR)/images/*.png \
+ $(BASEDIR)/images
+ cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
+ *.html
+
validate:
xmllint --noout --nonet --xinclude --postvalid index.xml