Tagging 1.99.1
[linux_from_scratch.git] / newxml / Makefile
blob2892b052af0675d073f378e9dbab9348bfd3c5e3
1 BASEDIR=~/lfs-book/
3 lfs:
4 xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR) \
5 stylesheets/lfs-chunked.xsl index.xml
7 if [ ! -e $(BASEDIR)/stylesheets ]; then \
8 mkdir -p $(BASEDIR)/stylesheets; \
9 fi;
10 cp stylesheets/lfs.css $(BASEDIR)/stylesheets
12 if [ ! -e $(BASEDIR)/images ]; then \
13 mkdir -p $(BASEDIR)/images; \
14 fi;
15 cp /usr/share/xml/docbook/xsl-stylesheets-1.64.1/images/*.png \
16 $(BASEDIR)/images
17 sed -i -e "s@../stylesheets@stylesheets@" \
18 $(BASEDIR)/{index,pt01,pt02,pt03,pt04}.html
19 sed -i -e "s@../images@images@g" \
20 $(BASEDIR)/{index,pt01,pt02,pt03,pt04}.html