]> git.armaanb.net Git - opendoas.git/blobdiff - bsd.prog.mk
briefly mention /etc/examples/ in the FILES section of all the manual pages that...
[opendoas.git] / bsd.prog.mk
index 93032d25e3a012e82e09bacaa123c1109372a8e5..ba6c1418d6cedbe1411fcd5a4a20188f732b60be 100644 (file)
@@ -6,6 +6,8 @@ CFLAGS  += -I${CURDIR}/libopenbsd ${COPTS} -MD -MP -Wno-unused-result
 
 include config.mk
 
+CFLAGS += -DDOAS_CONF="\"${SYSCONFDIR}/doas.conf\""
+
 OPENBSD := $(addprefix libopenbsd/,${OPENBSD})
 OBJS    := ${SRCS:.y=.c}
 OBJS    := ${OBJS:.c=.o}
@@ -42,6 +44,7 @@ clean:
        rm -f ${OBJS}
        rm -f ${OBJS:.o=.d}
        rm -f ${PROG}
+       rm -f parse.c
 
 -include ${OBJS:.o=.d} ${OPENBSD:.o=.d}