X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=doc%2FMakefile;h=96a19eb175a55273b0f46eae835065f55c0511a5;hb=fbea11f44b972ce48ae5912f9e30df4e0c03e8c9;hp=36e3672b191d3c30c8ac64c6bc2c094a0570c36e;hpb=29ba6a6b873ae75dcf4b00e3a879fe17739cf8cf;p=PuTTY.git diff --git a/doc/Makefile b/doc/Makefile index 36e3672b..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))