From 1060bf339b7df2e9a7283516702a771a56f00460 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Fri, 16 Nov 2012 14:03:05 +0000 Subject: Make manpages, via "make docs" --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3cb7277..fa1df8f 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,18 @@ default: tidy: rm -rf ./debian/custodian + rm -rf ./man rm -f ./debian/custodian.debhelper.log rm -f ./debian/custodian.substvars rm -f ./debian/files find . -name 'custodian-dequeue.log' -delete || true +docs: man/custodian-dequeue.man man/custodian-enqueue.man man/custodian-queue.man man/multi-ping.man + + +man/%.man: ./bin/% + [ -d man ] || mkdir man + RUBYLIB=./lib $< --manual | sed -e 's/^=\+$$//' | txt2man -s 1 -t $(notdir $<) | sed -e 's/\\\\fB/\\fB/' > $@ + test: t/test-suite -- cgit v1.2.1