From f64d926d669f6328e6b28c5d4fa5b1687052440b Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Wed, 27 May 2020 21:36:42 -0400
Subject: added install target
---
Makefile | 2 ++
README | 2 ++
2 files changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index 2aa39ab..2b9f122 100644
--- a/Makefile
+++ b/Makefile
@@ -11,3 +11,5 @@ ll.o: ll.c ll.h
sb.o: sb.c sb.h
clean:
rm -f badroff $(OBJS) phrase-circuit.txt
+install: badroff
+ cp -f badroff /usr/local/bin/badroff
diff --git a/README b/README
index 41039ca..1815214 100644
--- a/README
+++ b/README
@@ -14,6 +14,8 @@ and as a test).
Just run `make` (parallelism does work, so `make -j8` is recommended) to
build the binary `badroff`.
+To install, run `sudo make install`
+
# Licence
The entirety of this project is licenced under the GNU GPLv3.
--
cgit