aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b04f111..7708b3d 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
+MANDIR=$(PREFIX)/share/man
BACKEND=qbe
objdir=.
@@ -92,6 +93,8 @@ check: all
install: all
mkdir -p $(DESTDIR)$(BINDIR)
cp $(objdir)/cproc $(objdir)/cproc-qbe $(DESTDIR)$(BINDIR)
+ mkdir -p $(DESTDIR)$(MANDIR)/man1
+ cp cproc.1 $(DESTDIR)$(MANDIR)/man1
.PHONY: qbe
qbe: