Closed Warin closed 11 years ago
Tested on Snow Leopard:
$ cd ~/opt $ curl -L -o tidy.zip https://github.com/w3c/tidy-html5/archive/master.zip && unzip tidy.zip $ cd tidy-html5-master/ $ /bin/sh build/gnuauto/setup.sh $ sudo ./configure -prefix=/usr $ sudo make $ sudo make install
$ cd ~/opt
$ curl -L -o tidy.zip https://github.com/w3c/tidy-html5/archive/master.zip && unzip tidy.zip
$ cd tidy-html5-master/
$ /bin/sh build/gnuauto/setup.sh
$ sudo ./configure -prefix=/usr
$ sudo make
$ sudo make install
$ tidy -v should return something like HTML Tidy for HTML5 (experimental) for Mac OS X https://github.com/w3c/tidy-html5/tree/c63cc39
$ tidy -v
HTML Tidy for HTML5 (experimental) for Mac OS X https://github.com/w3c/tidy-html5/tree/c63cc39
dont forget to cleanup the folder afterwards cd .. rm -R tidy-html5-master rm tidy.zip
cd ..
rm -R tidy-html5-master
rm tidy.zip
How'd you get around: 'You need libtoolize to continue'
Tested on Snow Leopard:
$ cd ~/opt
$ curl -L -o tidy.zip https://github.com/w3c/tidy-html5/archive/master.zip && unzip tidy.zip
$ cd tidy-html5-master/
$ /bin/sh build/gnuauto/setup.sh
$ sudo ./configure -prefix=/usr
$ sudo make
$ sudo make install
$ tidy -v
should return something likeHTML Tidy for HTML5 (experimental) for Mac OS X https://github.com/w3c/tidy-html5/tree/c63cc39