2 sbin_SCRIPTS += utilities/bugtool/ovs-bugtool
3 CLEANFILES += utilities/bugtool/ovs-bugtool
4 man_MANS += utilities/bugtool/ovs-bugtool.8
5 MAN_ROOTS += utilities/bugtool/ovs-bugtool.8
8 utilities/bugtool/plugins/kernel-info/openvswitch.xml \
9 utilities/bugtool/plugins/network-status/openvswitch.xml \
10 utilities/bugtool/plugins/system-configuration.xml \
11 utilities/bugtool/plugins/system-logs/openvswitch.xml \
12 utilities/bugtool/plugins/system-configuration/openvswitch.xml
15 utilities/bugtool/ovs-bugtool-cfm-show \
16 utilities/bugtool/ovs-bugtool-coverage-show \
17 utilities/bugtool/ovs-bugtool-lacp-show \
18 utilities/bugtool/ovs-bugtool-tc-class-show \
19 utilities/bugtool/ovs-bugtool-ovsdb-dump \
20 utilities/bugtool/ovs-bugtool-daemons-ver
21 scripts_SCRIPTS += $(bugtool_scripts)
23 bugtoolpluginsdir = $(pkgdatadir)/bugtool-plugins
24 INSTALL_DATA_LOCAL += bugtool-install-data-local
25 bugtool-install-data-local:
26 for plugin in $(bugtool_plugins); do \
27 stem=`echo "$$plugin" | sed 's,utilities/bugtool/plugins/,,'`; \
28 dir=`expr "$$stem" : '\(.*\)/[^/]*$$'`; \
29 $(MKDIR_P) "$(DESTDIR)$(bugtoolpluginsdir)/$$dir"; \
30 $(INSTALL_DATA) "$(srcdir)/$$plugin" "$(DESTDIR)$(bugtoolpluginsdir)/$$stem"; \
33 UNINSTALL_LOCAL += bugtool-uninstall-local
34 bugtool-uninstall-local:
35 for plugin in $(bugtool_plugins); do \
36 stem=`echo "$$plugin" | sed 's,utilities/bugtool/plugins/,,'`; \
37 rm -f "$(DESTDIR)$(bugtoolpluginsdir)/$$stem"; \
39 for plugin in $(bugtool_plugins); do \
40 stem=`echo "$$plugin" | sed 's,utilities/bugtool/plugins/,,'`; \
41 dir=`expr "$$stem" : '\(.*\)/[^/]*$$'`; \
42 rmdir "$(DESTDIR)$(bugtoolpluginsdir)/$$dir"; \
49 utilities/bugtool/ovs-bugtool.8 \
50 utilities/bugtool/ovs-bugtool.in