summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul C. Buetow (mars.fritz.box) <paul@buetow.org>2014-04-10 07:26:37 +0200
committerPaul C. Buetow (mars.fritz.box) <paul@buetow.org>2014-04-10 07:26:37 +0200
commit6fedcd84160cb21cb2486ec78b7f7c2c0fd301db (patch)
treec74bb5018413ffb42ed22aaa088f6757ac663232 /Makefile
parentdb09bbb6145f72083239f0a5201ca1440c4aefdd (diff)
add README.txt for github
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d233ef7..902a173 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
NAME=template
-all: version docs build
+all: version docu build
# THIS IS NEEDED BY THE DEBIAN TOOLS
@@ -29,11 +29,12 @@ clean:
version:
cut -d' ' -f2 debian/changelog | head -n 1 | sed 's/(//;s/)//' > .version
-# Builds the docs into a manpage
-docs:
+# Builds the docu into a manpage
+docu:
pod2man --release="$(NAME) $$(cat .version)" \
--center="User Commands" ./docs/$(NAME).pod > ./docs/$(NAME).1
pod2text ./docs/$(NAME).pod > ./docs/$(NAME).txt
+ cp ./docs/$(NAME).txt README.txt
# Build a debian package (don't sign it, modify the arguments if you want to sign it)
deb: all