2006-11-11 12:39:16 +01:00
|
|
|
#!/bin/bash
|
2006-10-02 21:32:06 +02:00
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
set -e
|
2006-10-03 21:52:33 +02:00
|
|
|
cd $PKGDIR
|
2006-10-02 21:32:06 +02:00
|
|
|
|
|
|
|
patch -Np1 -i ../tidy-051026-prevent_PRE_newlines-1.patch
|
|
|
|
sh build/gnuauto/setup.sh
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make install
|
2006-10-03 22:00:22 +02:00
|
|
|
(cd ../ && tar -xvf tidy_docs_051020.tgz)
|
2006-10-02 21:32:06 +02:00
|
|
|
cd htmldoc
|
|
|
|
tidy -xml-help > tidy-help.xml
|
|
|
|
tidy -xml-config > tidy-config.xml
|
|
|
|
xsltproc -o tidy.1 tidy1.xsl tidy-help.xml
|
|
|
|
xsltproc -o quickref.html quickref-html.xsl tidy-config.xml
|
|
|
|
cd ..
|
|
|
|
install -v -m644 htmldoc/tidy.1 /usr/share/man/man1
|
2006-10-03 23:53:59 +02:00
|
|
|
install -v -m755 -d /usr/share/doc/tidy-051020
|
|
|
|
cp -v -R htmldoc/* /usr/share/doc/tidy-051020
|
2006-10-02 21:32:06 +02:00
|
|
|
|
|
|
|
exit
|