projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add index.but to build.
[u/mdw/putty]
/
doc
/
Makefile
diff --git
a/doc/Makefile
b/doc/Makefile
index
2fac0bc
..
6820f93
100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-1,22
+1,18
@@
CHAPTERS := $(SITE) blurb intro gs using config pscp psftp plink pubkey
CHAPTERS += pageant errors faq feedback licence
CHAPTERS := $(SITE) blurb intro gs using config pscp psftp plink pubkey
CHAPTERS += pageant errors faq feedback licence
+CHAPTERS += index
INPUTS = $(patsubst %,%.but,$(CHAPTERS))
# This is temporary. Hack it locally or something.
HALIBUT = $(HOME)/src/halibut/build/halibut
INPUTS = $(patsubst %,%.but,$(CHAPTERS))
# This is temporary. Hack it locally or something.
HALIBUT = $(HOME)/src/halibut/build/halibut
-all:
Contents.html man
+all:
man index.html
-Contents.html: $(INPUTS)
- $(HOME)/src/halibut/build/halibut $(INPUTS)
- rm -f index.html
- ln -s Contents.html index.html
- mv output.txt puttydoc.txt
- mv output.hlp putty.hlp
- mv output.cnt putty.cnt
+index.html: $(INPUTS)
+ $(HALIBUT) --text --html --winhelp $(INPUTS)
-MKMAN = $(H
OME)/src/halibut/build/halibut mancfg.but $< && mv output.1 $@
+MKMAN = $(H
ALIBUT) --man=$@ mancfg.but $<
MANPAGES = putty.1 puttygen.1 plink.1 pscp.1 psftp.1 puttytel.1 pterm.1
man: $(MANPAGES)
MANPAGES = putty.1 puttygen.1 plink.1 pscp.1 psftp.1 puttytel.1 pterm.1
man: $(MANPAGES)