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:48:23 +0000 (09:48 -0700)
Reported-by: 冯全树(Crab) <fqs888@126.com>
AUTHORS
python/ovs/automake.mk

diff --git a/AUTHORS b/AUTHORS
index b6e73721ea9a1170de617aec7bab7b2c95ed984e..ca64494d9579cd82a8108caca2f3e12ce30c0da5 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -88,6 +88,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 4a1e7c16f30b675a90c12001dab59728abba7a78..4440c8c287172ea507b8f8a888be3f3d7075cd82 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