about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-18 15:42:24 -0400
committerJune McEnroe <june@causal.agency>2020-05-18 15:42:24 -0400
commit7b29eb0ef644be1d0671d956ea90ea018600f77f (patch)
tree9a9f7e658323ee5627a8a6f9c52f7f4ce4e8de53
parentTemplate rc scripts with %%PREFIX%% (diff)
downloadpounce-7b29eb0ef644be1d0671d956ea90ea018600f77f.tar.gz
pounce-7b29eb0ef644be1d0671d956ea90ea018600f77f.zip
Add RUNDIR make variable
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e6e5849..d992548 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 PREFIX = /usr/local
 MANDIR = ${PREFIX}/share/man
 ETCDIR = ${PREFIX}/etc
+RUNDIR = /var/run
 
 CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
 LDLIBS = -lcrypt -lcrypto -ltls
@@ -8,7 +9,7 @@ LDLIBS = -lcrypt -lcrypto -ltls
 BINS = calico pounce
 MANS = ${BINS:=.1}
 RCS  = ${BINS:%=rc.d/%}
-DIRS = ${ETCDIR}/pounce /var/run/calico
+DIRS = ${ETCDIR}/pounce ${RUNDIR}/calico
 
 -include config.mk