From 995f215de5493d4fa29c9556f44cff7815ea719f Mon Sep 17 00:00:00 2001 From: "Paul Buetow (lxpbuetowlap.united.domain)" Date: Sun, 16 Mar 2014 09:28:51 +0100 Subject: Q: Why did the programmer call his mother long distance? A: Because that was her name. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 42b4fd6..0d09a25 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NAME=foo -all: version documentation build +all: version docs build # THIS IS NEEDED BY THE DEBIAN TOOLS @@ -29,8 +29,8 @@ clean: version: cut -d' ' -f2 debian/changelog | head -n 1 | sed 's/(//;s/)//' > .version -# Builds the documentation into a manpage -documentation: +# Builds the docs into a manpage +docs: pod2man --release="$(NAME) $$(cat .version)" \ --center="User Commands" ./docs/$(NAME).pod > ./docs/$(NAME).1 pod2text ./docs/$(NAME).pod > ./docs/$(NAME).txt -- cgit v1.2.3