X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=doc%2FMakefile;h=96a19eb175a55273b0f46eae835065f55c0511a5;hb=f004bcca17a789356c32527a396b68b71a773db2;hp=c089fa13d29e55ede17b8d8c5acbc0a93badfaf0;hpb=7e4786355d1f6829584efb88585667edb1ff9a1b;p=PuTTY.git diff --git a/doc/Makefile b/doc/Makefile index c089fa13..96a19eb1 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -3,12 +3,12 @@ all: man index.html # Decide on the versionid policy. # # If the user has passed in $(VERSION) on the command line (`make -# VERSION="Release 0.56"'), we use that as an explicit version -# string. Otherwise, we use `svnversion' to examine the checked-out -# documentation source, and if that returns a single revision -# number then we invent a version string reflecting just that -# number. Failing _that_, we resort to versionids.but which shows a -# $Id for each individual file. +# VERSION="Release 0.56"'), we use that as an explicit version string. +# Otherwise, we use `svnversion' to examine the checked-out +# documentation source, and if that returns a single revision number +# then we invent a version string reflecting just that number. Failing +# _that_, we resort to versionids.but which gives 'version +# unavailable'. # # So here, we define VERSION using svnversion if it isn't already # defined ... @@ -28,14 +28,14 @@ endif ifdef VERSION VERSIONIDS=vstr vstr.but: FORCE - echo \\versionid $(VERSION) > vstr.but + printf '\\versionid $(VERSION)\n' > vstr.but FORCE:; else VERSIONIDS=vids endif CHAPTERS := $(SITE) blurb intro gs using config pscp psftp plink pubkey -CHAPTERS += pageant errors faq feedback licence udp pgpkeys +CHAPTERS += pageant errors faq feedback licence udp pgpkeys sshnames CHAPTERS += index $(VERSIONIDS) INPUTS = $(patsubst %,%.but,$(CHAPTERS)) @@ -46,6 +46,10 @@ HALIBUT = halibut index.html: $(INPUTS) $(HALIBUT) --text --html --winhelp $(INPUTS) +# During formal builds it's useful to be able to build this one alone. +putty.hlp: $(INPUTS) + $(HALIBUT) --winhelp $(INPUTS) + putty.info: $(INPUTS) $(HALIBUT) --info $(INPUTS)