From aef4db1ff2401ddb69c82678d0c76ab29722a6e2 Mon Sep 17 00:00:00 2001 From: Albert Graef Date: Thu, 16 Aug 2018 19:23:45 +0200 Subject: [PATCH] Generate the manpage in a separate target, so that users don't need pandoc in order to install the package. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 583ba31..3b3e56e 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,13 @@ JACK := $(shell pkg-config --libs jack 2>/dev/null) OBJ = readconfig.o midizap.o jackdriver.o -all: midizap midizap.1 +all: midizap + +# This should actually go into 'all', but we keep this target separate since +# it requires special software (pandoc) to be generated. We also keep the +# midizap.1 file in the repository, so that users don't need pandoc in order +# to install this package. +man: midizap.1 install: all install -d $(bindir) $(datadir) $(mandir)