commit eff709028d3aea77de55bbf8743a27cf9a3207c3
parent cdb4142a2cbb270e492919ed8a7eafffb8b71df1
Author: Armin Preiml <apreiml@strohwolke.at>
Date: Wed, 6 Sep 2023 21:47:57 +0200
Makefile: also add haredoc to {un}install targets
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -116,6 +116,7 @@ install: docs scripts/install-mods
$(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man5 \
$(DESTDIR)$(SRCDIR)/hare/stdlib
install -m755 $(BINOUT)/hare $(DESTDIR)$(BINDIR)/hare
+ install -m755 $(BINOUT)/haredoc $(DESTDIR)$(BINDIR)/haredoc
install -m644 docs/hare.1 $(DESTDIR)$(MANDIR)/man1/hare.1
install -m644 docs/haredoc.1 $(DESTDIR)$(MANDIR)/man1/haredoc.1
install -m644 docs/hare-doc.5 $(DESTDIR)$(MANDIR)/man5/hare-doc.5
@@ -123,6 +124,7 @@ install: docs scripts/install-mods
uninstall:
$(RM) $(DESTDIR)$(BINDIR)/hare
+ $(RM) $(DESTDIR)$(BINDIR)/haredoc
$(RM) $(DESTDIR)$(MANDIR)/man1/hare.1
$(RM) $(DESTDIR)$(MANDIR)/man1/haredoc.1
$(RM) $(DESTDIR)$(MANDIR)/man5/hare-doc.5