aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Demelier <david.demelier@rfconception.com>2022-10-11 13:26:51 +0200
committerMichael Forney <mforney@mforney.org>2022-10-30 12:51:28 -0700
commitd9c29297f004be331882d224f07e8180ffa5d9d7 (patch)
tree57d92b010e9df178eccb2ae1e2d92caaca043785 /Makefile
parent6fabc79d81de56b6c1cdcc2242933fd792e2ddf9 (diff)
Add cproc(1) manual page
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: