ovsdbmonitor: Fix uninstall.
authorBen Pfaff <blp@nicira.com>
Mon, 23 Aug 2010 23:56:25 +0000 (16:56 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 25 Aug 2010 21:55:47 +0000 (14:55 -0700)
We install an ovsdbmonitor binary so we should uninstall it too.

ovsdb/ovsdbmonitor/automake.mk

index 254ec8d0df4a23ff5ad0ed4f72a35ab4f59d14ac..e24c5360beb30d88233b4a9181258a9e282366b5 100644 (file)
@@ -41,6 +41,10 @@ DISTCLEANFILES += \
        ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
 endif
 
+uninstall-local: ovsdbmonitor-uninstall-local
+ovsdbmonitor-uninstall-local:
+       rm -f $(DESTDIR)$(bindir)/ovsdbmonitor
+
 SUFFIXES += .ui .py
 .ui.py:
        $(PYUIC4) $< | sed 's/from PyQt4 import QtCore, QtGui/\