aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2024-07-14 10:59:59 +0200
committerjakob.stendahl <jakob.stendahl@infomedia.dk>2024-07-14 10:59:59 +0200
commit7116bc4e91c209f738ca5276a7e08bc19c3b737c (patch)
tree6df99977ad4720605ac93e23459333527fe155a7 /Makefile
parent36d8ff00dd1d0f60d0a2afca519de979c67f1dce (diff)
downloadsimple-notification-daemon-7116bc4e91c209f738ca5276a7e08bc19c3b737c.tar.gz
simple-notification-daemon-7116bc4e91c209f738ca5276a7e08bc19c3b737c.zip
Add some documentation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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