From 33544e122aa734337f5ca3a7a5ad17f8f93958a8 Mon Sep 17 00:00:00 2001 From: Moritz Wilhelmy Date: Thu, 15 Sep 2011 21:14:21 +0200 Subject: first draft of a mdoc(7) manpage replacing the pod --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6dff688..c9daf6d 100644 --- a/Makefile +++ b/Makefile @@ -2,18 +2,15 @@ VERSION:=$(shell git describe --dirty | sed 's/^v//') MANDIR=/usr/share/man BINDIR=/usr/bin -all: fb.1 fb +all: fb fb: fb.in @[ -n "$(VERSION)" ] || (echo "Error: version detection failed"; exit 1) sed 's/@VERSION@/$(VERSION)/' fb.in > fb chmod 755 fb -fb.1: fb.pod - pod2man -c "" fb.pod fb.1 - clean: - rm -f fb.1 fb + rm -f fb rm -rf dist install: all @@ -27,7 +24,7 @@ uninstall: dist: all @[ -n "$(VERSION)" ] || (echo "Error: version detection failed"; exit 1) mkdir -p dist/fb-$(VERSION) - cp -a fb fb.in fb.pod fb.1 COPYING Makefile dist/fb-$(VERSION) + cp -a fb fb.in fb.1 COPYING Makefile dist/fb-$(VERSION) sed -i 's/^VERSION:=.*$$/VERSION:="'$(VERSION)'"/' dist/fb-$(VERSION)/Makefile cd dist; tar -czf fb-$(VERSION).tar.gz fb-$(VERSION) -- cgit v1.2.3-24-g4f1b