From 16558a6bbba2d76abdd43f94c65709128911609b 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 Conflicts: Makefile fb.pod Signed-off-by: Florian Pritz --- Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3647e89..5884b00 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,9 @@ CFLAGS?=-O2 -std=c99 -Wall -Wextra -pedantic LIBCURL:=$(shell pkg-config --silence-errors --libs --cflags libcurl) ifdef LIBCURL -all: fb.1 fb fb-helper +all: fb fb-helper else -all: fb.1 fb +all: fb endif fb: fb.in @@ -21,14 +21,11 @@ fb: fb.in fb-helper: fb-helper.c $(CC) $(CFLAGS) $(LIBCURL) -DVERSION=\"$(VERSION)\" -o $@ $< -fb.1: fb.pod - pod2man -c "" $< $@ - clean: - rm -f fb.1 fb fb-helper + rm -f fb fb-helper rm -rf dist -install: all +install: install -dm755 $(DESTDIR)$(BINDIR) install -m755 fb $(DESTDIR)$(BINDIR)/fb ifdef LIBCURL @@ -46,7 +43,7 @@ uninstall: dist: all @[ -n "$(VERSION)" ] || (echo "Error: version detection failed"; exit 1) mkdir -p dist/fb-$(VERSION) - cp -a fb-helper.c fb{,.in} fb.pod fb.1 COPYING Makefile dist/fb-$(VERSION) + cp -a fb-helper.c 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