[ovs-dev] [PATCH] dist-docs: Make "make dist-docs" work again.

Lance Richardson lrichard at redhat.com
Tue Dec 13 21:05:14 UTC 2016


> From: "Ben Pfaff" <blp at ovn.org>
> To: dev at openvswitch.org
> Cc: "Ben Pfaff" <blp at ovn.org>, "Stephen Finucane" <stephen at that.guru>, "Lance Richardson" <lrichard at redhat.com>
> Sent: Tuesday, December 13, 2016 3:50:32 PM
> Subject: [PATCH] dist-docs: Make "make dist-docs" work again.
> 
> CC: Stephen Finucane <stephen at that.guru>
> Fixes: c431227e3350 ("doc: Remove documentation from distdoc target")
> Reported-by: Lance Richardson <lrichard at redhat.com>
> Signed-off-by: Ben Pfaff <blp at ovn.org>
> ---
>  build-aux/dist-docs | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/build-aux/dist-docs b/build-aux/dist-docs
> index d2d11d7..9f6ca7b 100755
> --- a/build-aux/dist-docs
> +++ b/build-aux/dist-docs
> @@ -3,10 +3,10 @@
>  set -e
>  
>  # Check command line.
> -if test ! -d "$1" || test $# -lt 2; then
> +if test ! -d "$1" || test $# != 1; then
>      cat <<EOF
>  $0: HTML documentation generator for Open vSwitch
> -usage: $0 srcdir docfile...
> +usage: $0 srcdir
>  
>  The VERSION environment variable should be set to the Open vSwitch version.
>  Must be invoked from an Open vSwitch build directory.
> --
> 2.10.2
> 
> 

LGTM, works for me.

Acked-by: Lance Richardson <lrichard at redhat.com>


More information about the dev mailing list