ovs.stream: Drop Stream.get_name() since clients can use 'name' directly.
[openvswitch] / utilities / bugtool / automake.mk
1 if HAVE_PYTHON
2 sbin_SCRIPTS += utilities/bugtool/ovs-bugtool
3 man_MANS += utilities/bugtool/ovs-bugtool.8
4
5 bugtool_plugins = \
6         utilities/bugtool/plugins/kernel-info/openvswitch.xml \
7         utilities/bugtool/plugins/network-status/openvswitch.xml \
8         utilities/bugtool/plugins/system-configuration.xml \
9         utilities/bugtool/plugins/system-logs/openvswitch.xml \
10         utilities/bugtool/plugins/system-configuration/openvswitch.xml
11
12 bugtool_scripts = \
13         utilities/bugtool/ovs-bugtool-tc-class-show \
14         utilities/bugtool/ovs-bugtool-ovsdb-dump
15 scripts_SCRIPTS += $(bugtool_scripts)
16
17 bugtoolpluginsdir = $(sysconfdir)/openvswitch/bugtool-plugins
18 INSTALL_DATA_LOCAL += bugtool-install-data-local
19 bugtool-install-data-local:
20         for plugin in $(bugtool_plugins); do \
21           stem=`echo "$$plugin" | sed 's,utilities/bugtool/plugins/,,'`; \
22           dir=`expr "$$stem" : '\(.*\)/[^/]*$$'`; \
23           $(MKDIR_P) "$(DESTDIR)$(bugtoolpluginsdir)/$$dir"; \
24           $(INSTALL_DATA) "$(srcdir)/$$plugin" "$(DESTDIR)$(bugtoolpluginsdir)/$$stem"; \
25         done
26 endif
27
28 EXTRA_DIST += \
29         $(bugtool_plugins) \
30         $(bugtool_scripts) \
31         utilities/bugtool/ovs-bugtool.8 \
32         utilities/bugtool/ovs-bugtool.in