summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f208e25..650c255 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 PREFIX = /usr/local
 MANDIR = ${PREFIX}/man
+ETCDIR = ${PREFIX}/etc
 LIBRESSL_PREFIX = /usr/local
 
 CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
@@ -30,10 +31,10 @@ clean:
 	rm -f tags pounce ${OBJS}
 
 install: pounce pounce.1 rc.pounce
-	install -d ${PREFIX}/bin ${MANDIR}/man1 ${PREFIX}/etc/rc.d
+	install -d ${PREFIX}/bin ${MANDIR}/man1 ${ETCDIR}/rc.d
 	install pounce ${PREFIX}/bin
 	install -m 644 pounce.1 ${MANDIR}/man1
-	install rc.pounce ${PREFIX}/etc/rc.d/pounce
+	install rc.pounce ${ETCDIR}/rc.d/pounce
 
 uninstall:
-	rm -f ${PREFIX}/bin/pounce ${MANDIR}/man1/pounce.1 ${PREFIX}/etc/rc.d/pounce
+	rm -f ${PREFIX}/bin/pounce ${MANDIR}/man1/pounce.1 ${ETCDIR}/rc.d/pounce
1June McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe