python: Fix "make install" on systems without Python.
authorBen Pfaff <blp@nicira.com>
Mon, 13 Jun 2011 16:37:09 +0000 (09:37 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 14 Jun 2011 16:49:28 +0000 (09:49 -0700)
Reported-by: 冯全树(Crab) <fqs888@126.com>
AUTHORS
python/ovs/automake.mk

diff --git a/AUTHORS b/AUTHORS
index cdf3159..34d280f 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -86,6 +86,7 @@ Vishal Swarankar        vishal.swarnkar@gmail.com
 YAMAMOTO Takashi        yamamoto@valinux.co.jp
 Yongqiang Liu           liuyq7809@gmail.com
 kk yap                  yapkke@stanford.edu
+冯全树(Crab)          fqs888@126.com
 
 Thanks to all Open vSwitch contributors.  If you are not listed above
 but believe that you should be, please write to dev@openvswitch.org.
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