Skip to content

Commit e8de511

Browse files
Added build info to index.html.
1 parent ccc80bc commit e8de511

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

index.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,32 @@ <h2 id="implementation">Source code</h2>
554554
<p>The source code for the experimental HTML5 fork of Tidy can be found at
555555
<a href="https://github.com/w3c/tidy-html5">https://github.com/w3c/tidy-html5</a>.
556556

557+
<h2 id=building-cli>Building the tidy command-line tool</h2>
558+
<p>For Linux/BSD/OSX platforms, you can build and install the
559+
<code>tidy</code> command-line tool from the source code using the
560+
following steps.</p>
561+
562+
<ol>
563+
<li><code>make -C build/gmake/</code></li>
564+
<li><code>make install -C build/gmake/</code></li>
565+
</ol>
566+
567+
<p>Note that you will either need to run <code>make install</code> as root,
568+
or with <code>sudo make install</code>.</p>
569+
570+
<h2 id=building-library>Building the libtidy shared library</h2>
571+
<p>For Linux/BSD/OSX platforms, you can build and install the
572+
<code>tidylib</code> shared library (for use in building other
573+
applications) from the source code using the following steps.</p>
574+
575+
<ol>
576+
<li>sh build/gnuauto/setup.sh &amp;&amp; ./configure &amp;&amp; make</li>
577+
<li>make install</li>
578+
</ol>
579+
580+
<p>Note that you will either need to run <code>make install</code> as root,
581+
or with <code>sudo make install</code>.</p>
582+
557583
<h2 id=acks>Acknowledgements</h2>
558584
<p>Dave Raggett has a list of
559585
<a href="http://www.w3.org/People/Raggett/tidy/#acks">Acknowledgements</a>
@@ -590,6 +616,8 @@ <h2 id=acks>Acknowledgements</h2>
590616
<li><a href="#xml">Correcting well-formedness errors in XML markup</a>
591617
<li><a href="#scripts">Using Tidy from scripts</a>
592618
<li><a href="#implementation">Source code</a>
619+
<li><a href="#build-cli">Building the tidy command-line tool</a>
620+
<li><a href="#build-library">Building the tidylib shared library</a>
593621
<li><a href="#acks">Acknowledgements</a>
594622
</ol>
595623
</div>

0 commit comments

Comments
 (0)