From 7116bc4e91c209f738ca5276a7e08bc19c3b737c Mon Sep 17 00:00:00 2001 From: "jakob.stendahl" Date: Sun, 14 Jul 2024 10:59:59 +0200 Subject: Add some documentation --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0bd95f3..9c705b5 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ DEST = .PHONY: install clean -all: snotifd snotifc +all: snotifd snotifc README o_files := $(patsubst %.c,%.o,$(wildcard *.c)) %: %.c @@ -20,6 +20,10 @@ snotifc: ${o_files} ${GCC} -o $@ $@.o snotif.o ${CFLAGS} -lncursesw strip snotifc +README: snotifd.1 snotifc.1 + groff -Tutf8 -mandoc snotifd.1 | sed -e 's/\x1b\[[0-9;]*m//g' > $@ + groff -Tutf8 -mandoc snotifc.1 | sed -e 's/\x1b\[[0-9;]*m//g' >> $@ + install: snotifc snotifd install snotifd ${HOME}/bin/snotifd install snotifc ${HOME}/bin/snotifc @@ -31,3 +35,4 @@ clean: rm -f *.o rm -f snotifc rm -f snotifd + rm -f README -- cgit v1.2.3