diff --git a/README.html b/README.html index 05a1eaa..770c304 100644 --- a/README.html +++ b/README.html @@ -1,44 +1,125 @@ - -
- -This repo is an experimental fork of the code from - tidy.sourceforge.net. -This source code in this version supports processing of HTML5 documents. -The changes for HTML5 support started from a - patch developed by Björn Höhrmann.
++ This repo is an experimental fork of the code from tidy.sourceforge.net. This source code in this version supports + processing of HTML5 documents. +
-For more information, see - w3c.github.com/tidy-html5 +
+ The changes for HTML5 support started from a patch developed by Björn Höhrmann. A copy of this patch is also + maintained on this site, but naturally a LOT more has been changed in this fork. +
-For Linux/BSD/OSX platforms, you can build and install the
-tidy
command-line tool from the source code using the
-following steps.
+ For more information, also see w3c.github.com/tidy-html5 +
-make -C build/gmake/
make install -C build/gmake/
Note that you will either need to run make install
as root,
-or with sudo make install
.
+ For all platforms, you can build and install the tidy
command-line tool from the
+ source code using the following steps.
+
For Linux/BSD/OSX platforms, you can build and install the
-tidylib
shared library (for use in building other
-applications) from the source code using the following steps.
cd build/cmake
+ Note that you will either need to run make install
as root,
-or with sudo make install
.
cmake ../.. [-G "generator of choice"] [-DCMAKE_INSTALL_PREFIX=/install/path]
+ make
+ cmake --build . --config Release
+ [sudo] make install
+ cmake --build . --config Release --target INSTALL
+
+ Alternatively the CMake GUI can be used. CMake options can be read from their site, and/or running # cmake --help to get help, and view the
+ 'generators' supported on your platform.
+
+ The build/cmake folder contains sample windows (batch) and unix (sh) scripts which can be
+ adjusted to suit your choices.
+
+ This document has been tidied using tidy5.exe, using a configuration file, tidy5.cfg containing + - +
+ ++tidy-mark: no +indent: yes +break-before-br: yes +indent-attributes: yes +vertical-space: yes +indent-spaces: 1 +indent-cdata: no +wrap-asp: no +wrap-attributes: no +wrap-jste: no +wrap-php: no +wrap-script-literals: no +wrap-sections: no +tab-size: 4 +show-info: no ++
+ Using the following command
+
+ tidy5 -o README5.html -config tidy5.cfg README.html
+
+ then after checking README.html is deleted, and README5.html renamed to README.html
+
+ README.html 20141205 +
+ + diff --git a/README.md b/README.md index 18518cd..90f271b 100644 --- a/README.md +++ b/README.md @@ -28,32 +28,4 @@ For more information, see [w3c.github.com/tidy-html5][3] Windows: cmake --build . --config Release --target INSTALL UNix/OSX: [sudo] make install - -## Older/Previous Build systems - -### Building the tidy command-line tool - -For Linux/BSD/OSX platforms, you can build and install the `tidy` command-line -tool from the source code using the following steps. - - 1. `make -C build/gmake/` - - 2. `make install -C build/gmake/` - -Note that you will either need to run `make install` as root, or with `sudo make -install`. - -### Building the libtidy shared library - -For Linux/BSD/OSX platforms, you can build and install the `tidylib` shared -library (for use in building other applications) from the source code using the -following steps. - - 1. sh build/gnuauto/setup.sh && ./configure && make - - 2. make install - -Note that you will either need to run `make install` as root, or with `sudo make -install`. - ;eof