commit 6bc85c5c7b8ea43345e0d95423e3ada8156e1eb5
parent 46880c8c283eaa64abfb36f1dc24a7ffc74790a6
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 22 Jan 2021 11:58:46 -0500
makefile: add install target
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -32,6 +32,8 @@ clean: clean-tests clean-rt
distclean: clean
@rm -rf "$(OUTDIR)"
-install:
+install: harec
+ mkdir -p $(DESTDIR)$(BINDIR)
+ install -m755 harec $(DESTDIR)$(BINDIR)/harec
.PHONY: docs clean distclean install