2003-10-30 10:30:23 +00:00
|
|
|
CHAPTERS := $(SITE) blurb intro gs using config pscp psftp plink pubkey
|
|
|
|
CHAPTERS += pageant errors faq feedback licence
|
2001-01-17 10:11:16 +00:00
|
|
|
|
|
|
|
INPUTS = $(patsubst %,%.but,$(CHAPTERS))
|
|
|
|
|
|
|
|
# This is temporary. Hack it locally or something.
|
2002-08-05 10:35:35 +00:00
|
|
|
HALIBUT = $(HOME)/src/halibut/build/halibut
|
2001-01-17 10:11:16 +00:00
|
|
|
|
2004-03-24 19:36:04 +00:00
|
|
|
all: Contents.html man
|
|
|
|
|
2001-01-17 10:11:16 +00:00
|
|
|
Contents.html: $(INPUTS)
|
2004-03-24 20:03:30 +00:00
|
|
|
$(HALIBUT) $(INPUTS)
|
2001-01-17 10:11:16 +00:00
|
|
|
rm -f index.html
|
|
|
|
ln -s Contents.html index.html
|
2001-12-06 18:18:46 +00:00
|
|
|
mv output.txt puttydoc.txt
|
|
|
|
mv output.hlp putty.hlp
|
|
|
|
mv output.cnt putty.cnt
|
2001-02-19 10:54:05 +00:00
|
|
|
|
2004-03-24 20:03:30 +00:00
|
|
|
MKMAN = $(HALIBUT) mancfg.but $< && mv output.1 $@
|
2004-03-24 19:36:04 +00:00
|
|
|
MANPAGES = putty.1 puttygen.1 plink.1 pscp.1 psftp.1 puttytel.1 pterm.1
|
|
|
|
man: $(MANPAGES)
|
|
|
|
|
|
|
|
putty.1: man-putt.but mancfg.but; $(MKMAN)
|
|
|
|
puttygen.1: man-pg.but mancfg.but; $(MKMAN)
|
|
|
|
plink.1: man-pl.but mancfg.but; $(MKMAN)
|
|
|
|
pscp.1: man-pscp.but mancfg.but; $(MKMAN)
|
|
|
|
psftp.1: man-psft.but mancfg.but; $(MKMAN)
|
|
|
|
puttytel.1: man-ptel.but mancfg.but; $(MKMAN)
|
|
|
|
pterm.1: man-pter.but mancfg.but; $(MKMAN)
|
|
|
|
|
2001-02-19 10:54:05 +00:00
|
|
|
clean:
|
2004-03-24 19:36:04 +00:00
|
|
|
rm -f *.html *.txt *.hlp *.cnt *.1
|