From 08783bd1cc769c5d9319c51498022e6cdc06172a Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 17 Aug 2020 23:25:34 -0400 Subject: Template catsit script with RUNDIR --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6454448..8f11b0f 100644 --- a/Makefile +++ b/Makefile @@ -32,13 +32,13 @@ catsitd: ${OBJS} ${OBJS}: daemon.h -tags: *.c *.h - ctags -w *.c *.h - .SUFFIXES: .in .in: - sed -e 's|%%PREFIX%%|${PREFIX}|g' $< > $@ + sed -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%RUNDIR%%|${RUNDIR}|g' $< > $@ + +tags: *.c *.h + ctags -w *.c *.h clean: rm -f ${BINS} ${OBJS} ${RC_SCRIPT} tags -- cgit 1.4.1