[ovs-dev] [PATCH] xenserver: Fix rule for generating xenserver/openvswitch-xen.spec.

Ben Pfaff blp at nicira.com
Fri Mar 2 17:25:52 UTC 2012


Commands in Makefiles have to begin with a hard tab, otherwise they are
ignored, which is what happened here.

Fixes "make distcheck".

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 xenserver/automake.mk |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/xenserver/automake.mk b/xenserver/automake.mk
index c443bdd..cb6016f 100644
--- a/xenserver/automake.mk
+++ b/xenserver/automake.mk
@@ -27,6 +27,6 @@ EXTRA_DIST += \
 	xenserver/usr_share_openvswitch_scripts_sysconfig.template
 
 $(srcdir)/xenserver/openvswitch-xen.spec: xenserver/openvswitch-xen.spec.in $(top_builddir)/config.status
-  ($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
-    < $(srcdir)/xenserver/$(@F).in > $(@F).tmp || exit 1; \
-  if cmp -s $(@F).tmp $@; then touch $@; rm $(@F).tmp; else mv $(@F).tmp $@; fi
+	($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
+		< $(srcdir)/xenserver/$(@F).in > $(@F).tmp || exit 1; \
+	if cmp -s $(@F).tmp $@; then touch $@; rm $(@F).tmp; else mv $(@F).tmp $@; fi
-- 
1.7.2.5




More information about the dev mailing list