1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Clean up Makefile now that Halibut's new command-line options make

life easier.

[originally from svn r4022]
This commit is contained in:
Simon Tatham 2004-04-01 17:34:18 +00:00
parent 4672807fb0
commit 7843ab696a
2 changed files with 9 additions and 17 deletions

View File

@ -6,21 +6,12 @@ INPUTS = $(patsubst %,%.but,$(CHAPTERS))
# This is temporary. Hack it locally or something.
HALIBUT = $(HOME)/src/halibut/build/halibut
DROPPINGS := output.txt output.hlp output.cnt output.1
DROPPINGS += Contents.html IndexPage.html Chapter*.html Section*.html
DROPPINGS += Appendix*.html
all: man index.html
all: man Contents.html
index.html: $(INPUTS)
$(HALIBUT) --text --html --winhelp $(INPUTS)
Contents.html: $(INPUTS)
$(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
MKMAN = $(HALIBUT) mancfg.but $< && mv output.1 $@ && rm -f $(DROPPINGS)
MKMAN = $(HALIBUT) --man=$@ mancfg.but $<
MANPAGES = putty.1 puttygen.1 plink.1 pscp.1 psftp.1 puttytel.1 pterm.1
man: $(MANPAGES)

View File

@ -1,13 +1,14 @@
\title PuTTY User Manual
\cfg{xhtml-leaf-level}{1}
\cfg{xhtml-leaf-smallest-contents}{2}
\cfg{xhtml-leaf-contains-contents}{true}
\cfg{xhtml-body-end}{Comments to <a href='mailto:putty@projects.tartarus.org'>putty@projects.tartarus.org</a>}
\cfg{xhtml-contents-filename}{index.html}
\cfg{text-filename}{puttydoc.txt}
\cfg{winhelp-filename}{putty.hlp}
\preamble PuTTY is a free (MIT-licensed) Win32 Telnet and SSH
client. This manual documents PuTTY, and its companion utilities
PSCP, Plink, Pageant and PuTTYgen.
@ -16,4 +17,4 @@ PSCP, Plink, Pageant and PuTTYgen.
rights reserved. You may distribute this documentation under the MIT
licence. See \k{licence} for the licence text in full.
\versionid $Id: blurb.but,v 1.9 2004/01/01 16:47:48 simon Exp $
\versionid $Id: blurb.but,v 1.10 2004/04/01 17:34:18 simon Exp $