mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-10 14:24:10 +01:00
Testing the patched tidy.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4202 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
84ba73a7b6
commit
59ccb23e31
6
Makefile
6
Makefile
@ -3,6 +3,7 @@ CHUNK_QUIET=0
|
|||||||
PDF_OUTPUT=LFS-BOOK.pdf
|
PDF_OUTPUT=LFS-BOOK.pdf
|
||||||
NOCHUNKS_OUTPUT=LFS-BOOK.html
|
NOCHUNKS_OUTPUT=LFS-BOOK.html
|
||||||
XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
|
XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
|
||||||
|
TIDY=/home/manuel/bin/lfs-tidy
|
||||||
|
|
||||||
lfs:
|
lfs:
|
||||||
xsltproc --xinclude --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
|
xsltproc --xinclude --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
|
||||||
@ -24,7 +25,10 @@ lfs:
|
|||||||
cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
|
cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
|
||||||
index.html part1.html part2.html part3.html longindex.html
|
index.html part1.html part2.html part3.html longindex.html
|
||||||
|
|
||||||
sh goTidy $(BASEDIR)/
|
for filename in `find $(BASEDIR) -name "*.html"`; do \
|
||||||
|
$TIDY -config tidy.conf $$filename; \
|
||||||
|
true; \
|
||||||
|
done;
|
||||||
|
|
||||||
for filename in `find $(BASEDIR) -name "*.html"`; do \
|
for filename in `find $(BASEDIR) -name "*.html"`; do \
|
||||||
sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \
|
sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \
|
||||||
|
Loading…
Reference in New Issue
Block a user