[ovs-dev] [PATCH] dist-docs: Make "make dist-docs" work again.
Ben Pfaff
blp at ovn.org
Tue Dec 13 20:50:32 UTC 2016
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
More information about the dev
mailing list