Mark "uninstall-local" targets phony.
authorBen Pfaff <blp@nicira.com>
Thu, 25 Aug 2011 17:19:23 +0000 (10:19 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 15 Sep 2011 18:19:59 +0000 (11:19 -0700)
Makefile.am
ovsdb/ovsdbmonitor/automake.mk
python/ovs/automake.mk

index fba63b054b44ca3adbd7260f31428ed37cd3abd3..ec674b77339954e6d822a23447ebf9f5ac5355f5 100644 (file)
@@ -57,6 +57,7 @@ dist_pkgdata_SCRIPTS =
 dist_sbin_SCRIPTS =
 dist_scripts_SCRIPTS =
 INSTALL_DATA_LOCAL =
+UNINSTALL_LOCAL =
 man_MANS =
 MAN_FRAGMENTS =
 noinst_DATA =
@@ -165,7 +166,8 @@ dist-hook: $(DIST_HOOKS)
 all-local: $(ALL_LOCAL)
 clean-local: $(CLEAN_LOCAL)
 install-data-local: $(INSTALL_DATA_LOCAL)
-.PHONY: $(DIST_HOOKS) $(CLEAN_LOCAL) $(INSTALL_DATA_LOCAL)
+uninstall-local: $(UNINSTALL_LOCAL)
+.PHONY: $(DIST_HOOKS) $(CLEAN_LOCAL) $(INSTALL_DATA_LOCAL) $(UNINSTALL_LOCAL)
 
 include lib/automake.mk
 include ofproto/automake.mk
index 49b24c1c5900b49d1a51f2ec4fe9efbee9c9137a..7e832ef3d3f7e62d3b64fbd2418c330735256304 100644 (file)
@@ -43,7 +43,7 @@ DISTCLEANFILES += \
 man_MANS += ovsdb/ovsdbmonitor/ovsdbmonitor.1
 endif
 
-uninstall-local: ovsdbmonitor-uninstall-local
+UNINSTALL_LOCAL += ovsdbmonitor-uninstall-local
 ovsdbmonitor-uninstall-local:
        rm -f $(DESTDIR)$(bindir)/ovsdbmonitor
 
index 4440c8c287172ea507b8f8a888be3f3d7075cd82..a1787ba5c423ad954430e6de6a0e6a1936cc55d7 100644 (file)
@@ -42,6 +42,6 @@ ovs-install-data-local:
 endif
 install-data-local: ovs-install-data-local
 
-uninstall-local: ovs-uninstall-local
+UNINSTALL_LOCAL += ovs-uninstall-local
 ovs-uninstall-local:
        rm -f $(DESTDIR)$(pkgdatadir)/python/ovs/dirs.py