commit b64d3d5ac9121bd3c5df1c48defe5fdc209e467d parent ce1a524642e25da8a66a18797e9afc8f54f20903 Author: Luna Nieves <aicaya@posteo.net> Date: Thu, 29 Oct 2020 00:03:01 -0400 Add uninstall target Diffstat:
M | Makefile | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -67,4 +67,13 @@ install: all install -Dm644 doc/gmni.1 $(MANDIR)/man1/gmni.1 install -Dm644 doc/gmnlm.1 $(MANDIR)/man1/gmnlm.1 +uninstall: + rm -f $(BINDIR)/gmni + rm -f $(BINDIR)/gmnlm + rm -f $(LIBDIR)/libgmni.a + rm -rf $(INCLUDEDIR)/gmni + rm -f $(LIBDIR)/pkgconfig/libgmni.pc + rm -f $(MANDIR)/man1/gmni.1 + rm -f $(MANDIR)/man1/gmnlm.1 + .PHONY: clean distclean docs install