summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (lxpbuetowlap.united.domain) <paul.buetow@1und1.de>2014-03-16 09:28:51 +0100
committerPaul Buetow (lxpbuetowlap.united.domain) <paul.buetow@1und1.de>2014-03-16 09:28:51 +0100
commit995f215de5493d4fa29c9556f44cff7815ea719f (patch)
treee9b56ad19b2cea13f043d80ebedff334a0d77eca
parentb6452f2266a66f6c7ed1d936d1bf7bcf1ecb0b30 (diff)
Q: Why did the programmer call his mother long distance?
A: Because that was her name.
-rw-r--r--Makefile6
-rw-r--r--docs/foo.pod4
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