| 1 | CHAPTERS := blurb intro gs using config pscp psftp plink pubkey pageant |
| 2 | CHAPTERS += errors faq feedback licence |
| 3 | |
| 4 | INPUTS = $(patsubst %,%.but,$(CHAPTERS)) |
| 5 | |
| 6 | # This is temporary. Hack it locally or something. |
| 7 | HALIBUT = $(HOME)/src/halibut/build/halibut |
| 8 | |
| 9 | Contents.html: $(INPUTS) |
| 10 | $(HOME)/src/halibut/build/halibut $(INPUTS) |
| 11 | rm -f index.html |
| 12 | ln -s Contents.html index.html |
| 13 | mv output.txt puttydoc.txt |
| 14 | mv output.hlp putty.hlp |
| 15 | mv output.cnt putty.cnt |
| 16 | |
| 17 | clean: |
| 18 | rm -f *.html *.txt *.hlp *.cnt |