Mark "uninstall-local" targets phony.
[sliver-openvswitch.git] / python / ovs / automake.mk
index 4a1e7c1..a1787ba 100644 (file)
@@ -36,9 +36,12 @@ ovs-install-data-local:
        $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/python/ovs
        $(INSTALL_DATA) python/ovs/dirs.py.tmp $(DESTDIR)$(pkgdatadir)/python/ovs/dirs.py
        rm python/ovs/dirs.py.tmp
+else
+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