In the special case that handles selecting a session and hitting Enter,
[sgt/putty] / doc / Makefile
index 2fac0bc..67aa5b6 100644 (file)
@@ -6,17 +6,12 @@ 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 = $(HOME)/src/halibut/build/halibut mancfg.but $< && mv output.1 $@
+MKMAN = $(HALIBUT) --man=$@ mancfg.but $<
 MANPAGES = putty.1 puttygen.1 plink.1 pscp.1 psftp.1 puttytel.1 pterm.1
 man: $(MANPAGES)