78189bb3 |
1 | CHAPTERS := $(SITE) blurb intro gs using config pscp psftp plink pubkey |
2 | CHAPTERS += pageant errors faq feedback licence |
e5b0d077 |
3 | |
4 | INPUTS = $(patsubst %,%.but,$(CHAPTERS)) |
5 | |
6 | # This is temporary. Hack it locally or something. |
5b68bbaf |
7 | HALIBUT = $(HOME)/src/halibut/build/halibut |
e5b0d077 |
8 | |
02d88d11 |
9 | all: man index.html |
d686cdbd |
10 | |
02d88d11 |
11 | index.html: $(INPUTS) |
12 | $(HALIBUT) --text --html --winhelp $(INPUTS) |
e3e5784e |
13 | |
02d88d11 |
14 | MKMAN = $(HALIBUT) --man=$@ mancfg.but $< |
e3e5784e |
15 | MANPAGES = putty.1 puttygen.1 plink.1 pscp.1 psftp.1 puttytel.1 pterm.1 |
16 | man: $(MANPAGES) |
17 | |
18 | putty.1: man-putt.but mancfg.but; $(MKMAN) |
19 | puttygen.1: man-pg.but mancfg.but; $(MKMAN) |
20 | plink.1: man-pl.but mancfg.but; $(MKMAN) |
21 | pscp.1: man-pscp.but mancfg.but; $(MKMAN) |
22 | psftp.1: man-psft.but mancfg.but; $(MKMAN) |
23 | puttytel.1: man-ptel.but mancfg.but; $(MKMAN) |
24 | pterm.1: man-pter.but mancfg.but; $(MKMAN) |
25 | |
e86cf399 |
26 | clean: |
e3e5784e |
27 | rm -f *.html *.txt *.hlp *.cnt *.1 |