[ovs-dev] [PATCH] python: Fix "make install" on systems without Python.

Ben Pfaff blp at nicira.com
Mon Jun 13 16:37:43 UTC 2011


Reported-by: 冯全树(Crab) <fqs888 at 126.com>
---
 AUTHORS                |    1 +
 python/ovs/automake.mk |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index b6e7372..ca64494 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -88,6 +88,7 @@ Vishal Swarankar        vishal.swarnkar at gmail.com
 YAMAMOTO Takashi        yamamoto at valinux.co.jp
 Yongqiang Liu           liuyq7809 at gmail.com
 kk yap                  yapkke at stanford.edu
+冯全树(Crab)          fqs888 at 126.com
 
 Thanks to all Open vSwitch contributors.  If you are not listed above
 but believe that you should be, please write to dev at openvswitch.org.
diff --git a/python/ovs/automake.mk b/python/ovs/automake.mk
index 4a1e7c1..4440c8c 100644
--- a/python/ovs/automake.mk
+++ b/python/ovs/automake.mk
@@ -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
 
-- 
1.7.4.4




More information about the dev mailing list