| 1 |
Installing HT |
| 2 |
=============== |
| 3 |
|
| 4 |
(1) |
| 5 |
a. (Only if you're NOT using a tarball / release:) |
| 6 |
|
| 7 |
./autogen.sh |
| 8 |
|
| 9 |
(This will generate the configure scripts) |
| 10 |
|
| 11 |
b. To configure: This creates the development (debug) version of HT (-g -O0): |
| 12 |
|
| 13 |
./configure --disable-release |
| 14 |
|
| 15 |
c. If you want a final (release) version (-O2 -fomit-frame-pointer) do the |
| 16 |
following instead: |
| 17 |
|
| 18 |
./configure --enable-release |
| 19 |
|
| 20 |
d. if you want to build with profiling information (-pg -g) add '--enable-profiling' |
| 21 |
|
| 22 |
e. for installing in /usr (instead /usr/local) add '--prefix=/usr' |
| 23 |
|
| 24 |
(2) (Only if you're NOT using a tarball / release:) |
| 25 |
|
| 26 |
make; make htdoc.h |
| 27 |
(because of a broken dependency) |
| 28 |
|
| 29 |
(3) compile and link HT: |
| 30 |
|
| 31 |
make |
| 32 |
|
| 33 |
(4) (optionally) install HT: |
| 34 |
|
| 35 |
make install |
| 36 |
|
| 37 |
(5) run HT: |
| 38 |
|
| 39 |
ht or ./ht |
| 40 |
|
| 41 |
Note: The package 'tex4ht' comes with a program called /usr/bin/ht which |
| 42 |
conflicts with this program's name... |
| 43 |
In order to use both programs properly you should rename one of them. |
| 44 |
(for example: mv /usr/local/bin/ht /usr/local/bin/ht.alt) |