summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2014-04-29 23:10:22 +0100
committerThomas Adam <thomas@xteddy.org>2014-04-29 23:10:22 +0100
commitb096ad9f2227afb4a9b70b2107431c82a1528eb8 (patch)
treec9df0cf04914be5cf68692c16c177e35b59d447e /Makefile.am
parent3f54c9292fc8ee147d45256e430fbf85fab98128 (diff)
Makefile.am: Honour $srcdir for mdoc2man.awk
Honour out-of-tree srcdir installs when generating the man page. Noticed by Jon Tibble.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index dd6756b9..bca0064d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -247,7 +247,7 @@ install-exec-hook:
>$(srcdir)/tmux.1.mdoc; \
else \
sed -e "s|@SYSCONFDIR@|$(sysconfdir)|g" $(srcdir)/tmux.1| \
- $(AWK) -fmdoc2man.awk >$(srcdir)/tmux.1.man; \
+ $(AWK) -f $(srcdoc)/mdoc2man.awk >$(srcdir)/tmux.1.man; \
fi
$(MKDIR_P) $(DESTDIR)$(mandir)/man1
$(INSTALL_DATA) $(srcdir)/tmux.1.@MANFORMAT@ \