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
 
gheader'>2019-02-17Generate HTML with hi -n -f html -o anchorJune McEnroe Running hi twice to insert stuff between the head and the content is a bit of a hack but oh well. 2019-02-17Add hi -f html -o anchor for line number linksJune McEnroe 2019-02-17Simplify temp trap in upJune McEnroe 2019-02-17Add line numbers to hiJune McEnroe Renames previous -n option to -m to stay consistent with cat -n. Prefixing lines with line numbers affects where the first tab indent ends up relative to the text above it. Not sure if it's worth fixing somehow. 2019-02-17Always split spans after newlinesJune McEnroe Simplifies ANSI and IRC output code, and prepares for line numbered output. 2019-02-15Color format specifiers light cyan in vimJune McEnroe 2019-02-15Highlight Interp as yellowJune McEnroe 2019-02-15Highlight strings in sh command substitutionsJune McEnroe 2019-02-15Add nmap gpJune McEnroe 2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe 2019-02-13Add forgotten "sixth" book of H2G2June McEnroe