From: Bruno Haible Date: Wed, 22 Mar 2023 05:43:02 +0000 (+0100) Subject: gnu-web-doc-update: Make it work for the first upload of a manual. X-Git-Tag: v1.0~1609 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=e979787d09c8b6611a2a433725b590eaae7ca6f5;p=gnulib.git gnu-web-doc-update: Make it work for the first upload of a manual. Reported by Reuben Thomas in . * build-aux/gnu-web-doc-update: Put the 'manual' directory under version control if it is not yet. --- diff --git a/ChangeLog b/ChangeLog index 33d54f7202..5b9a048b93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2023-03-22 Bruno Haible + + gnu-web-doc-update: Make it work for the first upload of a manual. + Reported by Reuben Thomas in + . + * build-aux/gnu-web-doc-update: Put the 'manual' directory under version + control if it is not yet. + 2023-03-21 Bruno Haible unistdio/u*-vasnprintf: Fix conversion of %Id directive result. diff --git a/build-aux/gnu-web-doc-update b/build-aux/gnu-web-doc-update index c968b1dcda..2c6e451eb5 100755 --- a/build-aux/gnu-web-doc-update +++ b/build-aux/gnu-web-doc-update @@ -2,7 +2,7 @@ # Run this after each non-alpha release, to update the web documentation at # https://www.gnu.org/software/$pkg/manual/ -VERSION=2022-01-27.18; # UTC +VERSION=2023-03-22.05; # UTC # Copyright (C) 2009-2023 Free Software Foundation, Inc. @@ -179,6 +179,9 @@ tmp=$(mktemp -d web-doc-update.XXXXXX) || exit 1 $RSYNC -avP "$builddir"/doc/manual/ $tmp/$pkg/manual ( + cd $tmp/$pkg + test -d manual/CVS || $dryrun $CVS add -ko manual + cd $tmp/$pkg/manual # Add all the files. This is simpler than trying to add only the