Document that mirroring to a GRE tunnel works and is better than RSPAN.
[openvswitch] / rhel / automake.mk
index d4d59613ecf31e19082ba6c824b8c02fb5fda7a1..34abe5b9db3df12ab2e5d81ed6aa23fc680313d2 100644 (file)
@@ -20,11 +20,13 @@ EXTRA_DIST += \
 
 
 $(srcdir)/rhel/openvswitch-kmod-rhel5.spec: rhel/openvswitch-kmod-rhel5.spec.in $(top_builddir)/config.status
-       sed -e 's,[@]VERSION[@],$(VERSION),g' < $< > $@
+       ($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
+               < $(srcdir)/rhel/openvswitch-kmod-rhel5.spec.in > $@
 
 $(srcdir)/rhel/openvswitch-kmod-rhel6.spec: rhel/openvswitch-kmod-rhel6.spec.in $(top_builddir)/config.status
-
-       sed -e 's,[@]VERSION[@],$(VERSION),g' < $< > $@
+       ($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
+               < $(srcdir)/rhel/openvswitch-kmod-rhel6.spec.in > $@
 
 $(srcdir)/rhel/openvswitch.spec: rhel/openvswitch.spec.in $(top_builddir)/config.status
-       sed -e 's,[@]VERSION[@],$(VERSION),g' < $< > $@
+       ($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
+               < $(srcdir)/rhel/openvswitch.spec.in > $@