From 6fedcd84160cb21cb2486ec78b7f7c2c0fd301db Mon Sep 17 00:00:00 2001 From: "Paul C. Buetow (mars.fritz.box)" Date: Thu, 10 Apr 2014 07:26:37 +0200 Subject: add README.txt for github --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3