diff options
author | June McEnroe <june@causal.agency> | 2019-11-03 00:28:20 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-11-03 00:28:20 -0400 |
commit | 831e2f1049fa64a5b5eed84c80361d45f32d5a81 (patch) | |
tree | 9c3a74e7238cb6d18cd72636c8c1819f6294031e /Makefile | |
parent | Set procname in calico rc script (diff) | |
download | pounce-831e2f1049fa64a5b5eed84c80361d45f32d5a81.tar.gz pounce-831e2f1049fa64a5b5eed84c80361d45f32d5a81.zip |
Set up /var/run/calico and /usr/local/etc/pounce
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 5000038..a41d96d 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,8 @@ LDLIBS = -ltls BINS = calico pounce MANS = ${BINS:=.1} -RCS = ${BINS:%=rc.d/%} +RCS = ${BINS:%=rc.d/%} +DIRS = ${ETCDIR}/pounce /var/run/calico -include config.mk @@ -43,11 +44,13 @@ install: ${BINS} ${MANS} ${RCS} install ${BINS} ${PREFIX}/bin install -m 644 ${MANS} ${MANDIR}/man1 install ${RCS} ${ETCDIR}/rc.d + install -d -m 700 ${DIRS} uninstall: rm -f ${BINS:%=${PREFIX}/bin/%} rm -f ${MANS:%=${MANDIR}/man1/%} rm -f ${RCS:%=${ETCDIR}/%} + rmdir ${DIRS} localhost.crt: printf "[dn]\nCN=localhost\n[req]\ndistinguished_name=dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth" \ |