Commence to clean up the build instructions
This commit is contained in:
parent
06189c6033
commit
24f4f89c95
34
README.md
34
README.md
|
@ -21,39 +21,11 @@ For more information, see [w3c.github.com/tidy-html5][3]
|
||||||
|
|
||||||
2. cmake ../.. [-DCMAKE_INSTALL_PREFIX=/path/for/install]
|
2. cmake ../.. [-DCMAKE_INSTALL_PREFIX=/path/for/install]
|
||||||
|
|
||||||
3. Windows: cmake --build . --config Release
|
3. Windows: cmake --build . --config Release
|
||||||
Unix/OSX: make
|
Unix/OSX: make
|
||||||
|
|
||||||
4. Install, if desired
|
4. Install, if desired
|
||||||
Windows: cmake --build . --config Release --target INSTALL
|
Windows: cmake --build . --config Release --target INSTALL
|
||||||
UNix/OSX: [sudo] make 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
|
;eof
|
||||||
|
|
Loading…
Reference in a new issue