vtep: Don't try to both distribute and distclean the manpage.
authorBen Pfaff <blp@nicira.com>
Wed, 28 May 2014 17:36:23 +0000 (10:36 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 28 May 2014 22:22:14 +0000 (15:22 -0700)
Since the initial checkin of the vtep code, the manpage has been both
distributed and distcleaned.  That's contradictory.  This commit fixes it.

This commit also moves the vtep manpage from the source directory to the
build directory.  There's no real reason for the manpage to be in the
source directory, and it can't be if it's not distributed (because "make"
is not supposed to update the source directory in a freshly untarred
source distribution, and doing so breaks "make distcheck").

Found by "make distcheck".

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
vtep/automake.mk

index a15a067..ddf9455 100644 (file)
@@ -45,8 +45,8 @@ endif
 # VTEP schema documentation
 EXTRA_DIST += vtep/vtep.xml
 DISTCLEANFILES += vtep/vtep.5
-dist_man_MANS += vtep/vtep.5
-$(srcdir)/vtep/vtep.5: \
+man_MANS += vtep/vtep.5
+vtep/vtep.5: \
        ovsdb/ovsdb-doc vtep/vtep.xml vtep/vtep.ovsschema $(VTEP_PIC)
        $(OVSDB_DOC) \
                --title="vtep" \