mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 11:18:48 +00:00
Makefile.am: Honour $srcdir for mdoc2man.awk
Honour out-of-tree srcdir installs when generating the man page. Noticed by Jon Tibble.
This commit is contained in:
parent
3f54c9292f
commit
b096ad9f22
@ -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@ \
|
||||
|
Loading…
Reference in New Issue
Block a user