mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-10 14:24:10 +01:00
Copy images referenced by the nochunks output somewhere that is visible by the HTML file (merged from r6344)
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@6345 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
68b786c273
commit
29f5bc3994
8
Makefile
8
Makefile
@ -53,6 +53,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user