|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] tools/ocaml: Add an uninstall target to the bindings test
tools/ocaml/tests/Makefile calls into bindings/ for uninstall, but the
bindings/Makefile has no such target, thus 'make uninstall' fails with:
make[2]: *** No rule to make target 'uninstall'. Stop.
So, add an uninstall target which removes the test-ocaml-bindings from
$(LIBEXEC)/tests, just like the tests in tools/tests/ do.
Signed-off-by: Julian Vetter <julian.vetter@xxxxxxxxxx>
---
tools/ocaml/tests/bindings/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/ocaml/tests/bindings/Makefile
b/tools/ocaml/tests/bindings/Makefile
index 02255780bd..73f2660af5 100644
--- a/tools/ocaml/tests/bindings/Makefile
+++ b/tools/ocaml/tests/bindings/Makefile
@@ -31,4 +31,7 @@ install: all
$(INSTALL_DIR) $(DESTDIR)$(LIBEXEC)/tests
$(INSTALL_PROG) test-ocaml-bindings $(DESTDIR)$(LIBEXEC)/tests
+uninstall:
+ $(RM) -- $(DESTDIR)$(LIBEXEC)/tests/test-ocaml-bindings
+
include $(OCAML_TOPLEVEL)/Makefile.rules
--
2.53.0
--
Julian Vetter | Vates Hypervisor & Kernel Developer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |