From: Ben Pfaff Date: Fri, 2 Mar 2012 17:19:21 +0000 (-0800) Subject: xenserver: Fix rule for generating xenserver/openvswitch-xen.spec. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=565dae448b29301a64a1e99338392d470b43df5c;p=openvswitch xenserver: Fix rule for generating xenserver/openvswitch-xen.spec. 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 --- diff --git a/xenserver/automake.mk b/xenserver/automake.mk index c443bddd..cb6016fb 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