X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/39a938f7a5e16b4be9bee493251238710fbff396..d46a9154e9a0e15f9e4561a1f7f563e21f211208:/doc/Makefile diff --git a/doc/Makefile b/doc/Makefile index eb472d98..9ac45e8a 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -17,10 +17,12 @@ SVNVERSION=$(shell test -d .svn && svnversion .) BADCHARS=$(findstring :,$(SVNVERSION))$(findstring S,$(SVNVERSION)) ifeq ($(BADCHARS),) ifneq ($(SVNVERSION),) +ifneq ($(SVNVERSION),exported) VERSION=Built from revision $(patsubst M,,$(SVNVERSION)) endif endif endif +endif # ... and now, we condition our build behaviour on whether or not # VERSION _is_ defined. ifdef VERSION @@ -33,13 +35,13 @@ VERSIONIDS=vids endif CHAPTERS := $(SITE) blurb intro gs using config pscp psftp plink pubkey -CHAPTERS += pageant errors faq feedback licence +CHAPTERS += pageant errors faq feedback licence udp CHAPTERS += index $(VERSIONIDS) INPUTS = $(patsubst %,%.but,$(CHAPTERS)) # This is temporary. Hack it locally or something. -HALIBUT = $(HOME)/src/halibut/build/halibut +HALIBUT = halibut index.html: $(INPUTS) $(HALIBUT) --text --html --winhelp $(INPUTS)