about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fb1f502..8693606 100644
--- a/Makefile
+++ b/Makefile
@@ -12,4 +12,12 @@ all: $(ALL)
 clean: FRC
 	rm -f $(ALL)
 
+install: FRC all
+	mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
+	install -m0755 $(ALL) $(DESTDIR)$(BINDIR)
+	install -m0644 $(ALL:=.1) $(DESTDIR)$(MANDIR)/man1
+
+README: reap.1
+	mandoc -Tutf8 $< | col -bx >$@
+
 FRC: