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