From 955400fb2f9b702556fe377a94e45cf08913e4e8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 13 Jun 2011 09:37:09 -0700 Subject: python: Fix "make install" on systems without Python. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported-by: 冯全树(Crab) --- python/ovs/automake.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python') diff --git a/python/ovs/automake.mk b/python/ovs/automake.mk index 4a1e7c16f..4440c8c28 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 -- cgit v1.2.1