From 23f63eb81167afaa14ecfbbfd30c106b70659fe5 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Mon, 1 Jul 2013 16:04:04 +0200 Subject: add manpage for afssh(1) using pandoc to generate groff from markdown --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 368c4dc..7e82b15 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,10 @@ CXXFLAGS ?= -g -O2 -Wall -Wold-style-cast CXXFLAGS += -std=c++11 LDFLAGS += -lboost_program_options -lboost_filesystem -lboost_system -lnettle -all: ssh-agent-filter.1 +all: ssh-agent-filter.1 afssh.1 + +%.1: %.1.md + pandoc -s -w man $< -o $@ ssh-agent-filter.1: ssh-agent-filter help2man -n $< -o $@ -N ./$< @@ -34,6 +37,6 @@ version.h: test ! -d .git || git describe | sed 's/^.*$$/#define SSH_AGENT_FILTER_VERSION "ssh-agent-filter \0"/' > $@ clean: - $(RM) ssh-agent-filter.1 ssh-agent-filter *.o + $(RM) *.1 ssh-agent-filter *.o .PHONY: version.h -- cgit v1.2.3