summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c21a1a6..6889107 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+PREFIX = /usr/local
+MANDIR = ${PREFIX}/man
 LIBRESSL_PREFIX = /usr/local
 
 CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
@@ -26,3 +28,11 @@ tags: *.c *.h
 
 clean:
 	rm -f tags pounce ${OBJS}
+
+install: pounce pounce.1
+	install -d ${PREFIX}/bin ${MANDIR}/man1
+	install pounce ${PREFIX}/bin
+	install -m 644 pounce.1 ${MANDIR}/man1
+
+uninstall:
+	rm -f ${PREFIX}/bin/pounce ${MANDIR}/man1/pounce.1
5-15 19:33:38 -0400'>2019-05-15Add orderJune McEnroe 2019-05-12Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe Their %-prefixed directives should probably be highlighted Macro. 2019-05-10Use val instead of suboptargJune McEnroe suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe Need to do some stuff in the Makefile for lex and yacc and generating HTML pages for it. 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe