]> git.proxmox.com Git - mirror_ovs.git/commitdiff
dist-docs: Make "make dist-docs" work again.
authorBen Pfaff <blp@ovn.org>
Tue, 13 Dec 2016 20:50:10 +0000 (12:50 -0800)
committerBen Pfaff <blp@ovn.org>
Tue, 13 Dec 2016 21:09:22 +0000 (13:09 -0800)
CC: Stephen Finucane <stephen@that.guru>
Fixes: c431227e3350 ("doc: Remove documentation from distdoc target")
Reported-by: Lance Richardson <lrichard@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Lance Richardson <lrichard@redhat.com>
build-aux/dist-docs

index d2d11d7b51c92809bd320df003b65706e464a059..9f6ca7b2cbfc17ead16a90d1614a974ec2b9c81e 100755 (executable)
@@ -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.