1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 12:02:47 -05:00

Now that Halibut is capable of generating man pages better than I

can do it by hand, I've converted the man page set from Unix PuTTY
into Halibut format, and enhanced the Makefile so it will build
them. At some future point this will also allow me to include the
man pages as an appendix in the main manual (once I _have_ a main
manual for Unix PuTTY).

[originally from svn r3966]
This commit is contained in:
Simon Tatham
2004-03-24 19:36:04 +00:00
parent aa07666cc1
commit ff6e3bc94d
18 changed files with 1630 additions and 1044 deletions

View File

@ -6,6 +6,8 @@ INPUTS = $(patsubst %,%.but,$(CHAPTERS))
# This is temporary. Hack it locally or something.
HALIBUT = $(HOME)/src/halibut/build/halibut
all: Contents.html man
Contents.html: $(INPUTS)
$(HOME)/src/halibut/build/halibut $(INPUTS)
rm -f index.html
@ -14,5 +16,17 @@ Contents.html: $(INPUTS)
mv output.hlp putty.hlp
mv output.cnt putty.cnt
MKMAN = $(HOME)/src/halibut/build/halibut mancfg.but $< && mv output.1 $@
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)
clean:
rm -f *.html *.txt *.hlp *.cnt
rm -f *.html *.txt *.hlp *.cnt *.1