mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-24 11:28:32 +00:00
Use $(srcdir) for generating tmux.1, reported by fasta_ on IRC.
This commit is contained in:
parent
ce52e45d44
commit
fce095665c
1 changed files with 4 additions and 3 deletions
|
|
@ -240,10 +240,11 @@ endif
|
|||
# Build tmux.1 in the right format.
|
||||
tmux.1: tmux.1.in
|
||||
if test x@MANFORMAT@ = xmdoc; then \
|
||||
sed -e "s|@SYSCONFDIR@|$(sysconfdir)|g" tmux.1.in >tmux.1; \
|
||||
sed -e "s|@SYSCONFDIR@|$(sysconfdir)|g" $(srcdir)/tmux.1.in \
|
||||
>$(srcdir)/tmux.1; \
|
||||
else \
|
||||
sed -e "s|@SYSCONFDIR@|$(sysconfdir)|g" tmux.1.in| \
|
||||
$(AWK) -fmdoc2man.awk >tmux.1; \
|
||||
sed -e "s|@SYSCONFDIR@|$(sysconfdir)|g" $(srcdir)/tmux.1.in| \
|
||||
$(AWK) -fmdoc2man.awk >$(srcdir)/tmux.1; \
|
||||
fi
|
||||
|
||||
# Update SF web site.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue