mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 13:05:04 -05:00
Reasonably grotty hacks so that the droppings left by the man page
generation don't interfere with the main HTML doc generation. [originally from svn r4006]
This commit is contained in:
parent
77f69653ca
commit
42ba47fdca
@ -6,7 +6,11 @@ INPUTS = $(patsubst %,%.but,$(CHAPTERS))
|
|||||||
# This is temporary. Hack it locally or something.
|
# This is temporary. Hack it locally or something.
|
||||||
HALIBUT = $(HOME)/src/halibut/build/halibut
|
HALIBUT = $(HOME)/src/halibut/build/halibut
|
||||||
|
|
||||||
all: Contents.html man
|
DROPPINGS := output.txt output.hlp output.cnt output.1
|
||||||
|
DROPPINGS += Contents.html IndexPage.html Chapter*.html Section*.html
|
||||||
|
DROPPINGS += Appendix*.html
|
||||||
|
|
||||||
|
all: man Contents.html
|
||||||
|
|
||||||
Contents.html: $(INPUTS)
|
Contents.html: $(INPUTS)
|
||||||
$(HALIBUT) $(INPUTS)
|
$(HALIBUT) $(INPUTS)
|
||||||
@ -16,7 +20,7 @@ Contents.html: $(INPUTS)
|
|||||||
mv output.hlp putty.hlp
|
mv output.hlp putty.hlp
|
||||||
mv output.cnt putty.cnt
|
mv output.cnt putty.cnt
|
||||||
|
|
||||||
MKMAN = $(HALIBUT) mancfg.but $< && mv output.1 $@
|
MKMAN = $(HALIBUT) mancfg.but $< && mv output.1 $@ && rm -f $(DROPPINGS)
|
||||||
MANPAGES = putty.1 puttygen.1 plink.1 pscp.1 psftp.1 puttytel.1 pterm.1
|
MANPAGES = putty.1 puttygen.1 plink.1 pscp.1 psftp.1 puttytel.1 pterm.1
|
||||||
man: $(MANPAGES)
|
man: $(MANPAGES)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user