hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit c7dcfb5cd6c454ba58bf8d8d053a5e5d362c67e5
parent 27fd53f769a864b087c9752d861b0e41dc83f195
Author: Jose Lombera <jose@lombera.dev>
Date:   Thu,  1 Sep 2022 18:11:14 -0500

Makefile: add uninstall target

Signed-off-by: Jose Lombera <jose@lombera.dev>

Diffstat:
MMakefile | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -108,4 +108,11 @@ install: docs scripts/install-mods install -m644 docs/haredoc.1 $(DESTDIR)$(MANDIR)/man1/haredoc.1 ./scripts/install-mods "$(DESTDIR)$(SRCDIR)/hare/stdlib" -.PHONY: all clean check docs install $(BINOUT)/harec2 $(BINOUT)/haredoc +uninstall: + $(RM) $(DESTDIR)$(BINDIR)/hare + $(RM) $(DESTDIR)$(BINDIR)/haredoc + $(RM) $(DESTDIR)$(MANDIR)/man1/hare.1 + $(RM) $(DESTDIR)$(MANDIR)/man1/haredoc.1 + $(RM) -r $(DESTDIR)$(SRCDIR)/hare/stdlib + +.PHONY: all clean check docs install uninstall $(BINOUT)/harec2 $(BINOUT)/haredoc