python: Fix "make install" on systems without Python.
[sliver-openvswitch.git] / python / ovs / automake.mk
index 4a1e7c1..4440c8c 100644 (file)
@@ -36,6 +36,9 @@ ovs-install-data-local:
        $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/python/ovs
        $(INSTALL_DATA) python/ovs/dirs.py.tmp $(DESTDIR)$(pkgdatadir)/python/ovs/dirs.py
        rm python/ovs/dirs.py.tmp
+else
+ovs-install-data-local:
+       @:
 endif
 install-data-local: ovs-install-data-local