From 3e2568aeb07f1df1b0e70a98130570cd229c10e3 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 15 Aug 2020 09:56:32 -0400 Subject: Generate tags file --- .gitignore | 1 + Makefile | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 821db5b..ffd4582 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ config.mk spawn spawnd +tags diff --git a/Makefile b/Makefile index 5698196..5cf0897 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,8 @@ MAN5 = spawntab.5 OBJS += daemon.o OBJS += service.o +dev: tags all + all: ${BINS} spawnd: ${OBJS} @@ -22,8 +24,11 @@ spawnd: ${OBJS} ${OBJS}: daemon.h +tags: *.c *.h + ctags -w *.c *.h + clean: - rm -f ${BINS} ${OBJS} + rm -f ${BINS} ${OBJS} tags install: ${BINS} ${MAN5} ${MAN8} install -d ${DESTDIR}${PREFIX}/sbin -- cgit 1.4.1