summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-08-25 10:19:23 -0700
committerBen Pfaff <blp@nicira.com>2011-09-15 11:19:59 -0700
commit44852fdf6335927b44ac7ebb348efa782a7f08de (patch)
tree344493b72c690cf93908479228e534859a9caca6
parentd56bfe387167efbf99600cb2c054dd36f7ae6033 (diff)
downloadopenvswitch-44852fdf6335927b44ac7ebb348efa782a7f08de.tar.gz
Mark "uninstall-local" targets phony.
-rw-r--r--Makefile.am4
-rw-r--r--ovsdb/ovsdbmonitor/automake.mk2
-rw-r--r--python/ovs/automake.mk2
3 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index fba63b054..ec674b773 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
diff --git a/ovsdb/ovsdbmonitor/automake.mk b/ovsdb/ovsdbmonitor/automake.mk
index 49b24c1c5..7e832ef3d 100644
--- a/ovsdb/ovsdbmonitor/automake.mk
+++ b/ovsdb/ovsdbmonitor/automake.mk
@@ -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
diff --git a/python/ovs/automake.mk b/python/ovs/automake.mk
index 4440c8c28..a1787ba5c 100644
--- a/python/ovs/automake.mk
+++ b/python/ovs/automake.mk
@@ -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