+
+ALL_LOCAL += $(srcdir)/python/ovs/dirs.py
+$(srcdir)/python/ovs/dirs.py: python/ovs/dirs.py.template
+ sed \
+ -e '/^##/d' \
+ -e 's,[@]pkgdatadir[@],/usr/local/share/openvswitch,g' \
+ -e 's,[@]RUNDIR[@],/var/run,g' \
+ -e 's,[@]LOGDIR[@],/usr/local/var/log,g' \
+ -e 's,[@]bindir[@],/usr/local/bin,g' \
+ -e 's,[@]sysconfdir[@],/usr/local/etc,g' \
+ -e 's,[@]DBDIR[@],/usr/local/etc/openvswitch,g' \
+ < $? > $@.tmp
+ mv $@.tmp $@
+EXTRA_DIST += python/ovs/dirs.py python/ovs/dirs.py.template