Jump to content

Manual:Build Tidy from source

From mediawiki.org

Updated source distributions are not released for the Tidy project. To build the source version you'll need to check it out using CVS.

cvs -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy login
cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co -P tidy

(Just press enter when prompted for password)

If you're building it on Linux, simply execute:

cd build/gmake
make

And the binary will be built and placed in bin/tidy

Building libtidy

Come across this error? Cannot find libtidy. Grab the source code from CVS, then execute:

sh build/gnuauto/setup.sh
./configure --prefix=/usr
make
make install

See also