Introduction
Introduction Statistics Contact Development Disclaimer Help
Makefile: add rule to generate README from man page - seturgent - set urgency h…
git clone git://git.codemadness.org/seturgent
Log
Files
Refs
README
LICENSE
---
commit 255f5ed3c7acabf2bcc2c491fdcb45ecdad41a2c
parent 2bba1d32cb4d232cc4aa454ee69fb20b6b0f67e3
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 17 Aug 2012 20:52:17 +0200
Makefile: add rule to generate README from man page
Signed-off-by: Hiltjo Posthuma <[email protected]>
Diffstat:
M Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/Makefile b/Makefile
@@ -24,6 +24,11 @@ seturgent: ${OBJ}
@echo CC -o $@
@${CC} -o $@ ${OBJ} ${LDFLAGS}
+readme:
+ @echo creating README
+ @groff -T utf8 -man < seturgent.1 | col -bx | \
+ sed "s@VERSION@${VERSION}@g" > README
+
clean:
@echo cleaning
@rm -f seturgent ${OBJ} seturgent-${VERSION}.tar.gz
@@ -53,4 +58,4 @@ uninstall:
@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
@rm -f ${DESTDIR}${MANPREFIX}/man1/seturgent.1
-.PHONY: all options clean dist install uninstall
+.PHONY: all readme options clean dist install uninstall
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.