X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/39a938f7a5e16b4be9bee493251238710fbff396..2ce79856e6d3257eba87d95b6c08973e604c4db1:/doc/Makefile diff --git a/doc/Makefile b/doc/Makefile index eb472d98..c60a6d07 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