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 +++--- docs/foo.pod | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) 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 diff --git a/docs/foo.pod b/docs/foo.pod index 5afff25..e8c4172 100644 --- a/docs/foo.pod +++ b/docs/foo.pod @@ -105,9 +105,7 @@ Search all content and rename *foo* into your own new package name. You can do t Edit the following files accordingly to your new project (e.g. with vim): - ./debian/control - ./debian/copyright - ./debian/README + vim ./debian/{control,copyright,README} =head2 Update changelog -- cgit v1.2.3