From: Ben Pfaff Date: Mon, 13 Jun 2011 16:37:09 +0000 (-0700) Subject: python: Fix "make install" on systems without Python. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=955400fb2f9b702556fe377a94e45cf08913e4e8;p=openvswitch python: Fix "make install" on systems without Python. Reported-by: 冯全树(Crab) --- diff --git a/AUTHORS b/AUTHORS index b6e73721..ca64494d 100644 --- 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. diff --git a/python/ovs/automake.mk b/python/ovs/automake.mk index 4a1e7c16..4440c8c2 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