Skip to content

Commit

Permalink
ovsdbmonitor: add .desktop file
Browse files Browse the repository at this point in the history
Needed for Fedora builds, might as well share it.

Signed-off-by: Chris Wright <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
chriswright authored and blp committed Mar 2, 2012
1 parent 565dae4 commit 9b49423
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ovsdb/ovsdbmonitor/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ EXTRA_DIST += \
ovsdb/ovsdbmonitor/HostWindow.ui \
ovsdb/ovsdbmonitor/LogWindow.ui \
ovsdb/ovsdbmonitor/MainWindow.ui \
ovsdb/ovsdbmonitor/ovsdbmonitor.in
ovsdb/ovsdbmonitor/ovsdbmonitor.in \
ovsdb/ovsdbmonitor/ovsdbmonitor.desktop
MAN_ROOTS += ovsdb/ovsdbmonitor/ovsdbmonitor.1

ovsdbmonitordir = ${datadir}/ovsdbmonitor
desktopdir = ${datadir}/applications
if BUILD_OVSDBMONITOR
noinst_SCRIPTS += ovsdb/ovsdbmonitor/ovsdbmonitor
ovsdbmonitor_DATA = $(ovsdbmonitor_pyfiles)
desktop_DATA = ovsdb/ovsdbmonitor/ovsdbmonitor.desktop
install-exec-hook:
sed -e '/NOINSTALL/d' < ovsdb/ovsdbmonitor/ovsdbmonitor > ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
chmod +x ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
Expand Down
7 changes: 7 additions & 0 deletions ovsdb/ovsdbmonitor/ovsdbmonitor.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Name=Open vSwitch DB Monitor
Comment=Monitor and troubleshoot local or remote Open vSwitch instances
Exec=ovsdbmonitor
Terminal=false
Type=Application
Categories=System;Monitor;

0 comments on commit 9b49423

Please sign in to comment.