mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-25 16:19:02 +01:00
Use $(srcdir) for generating tmux.1, reported by fasta_ on IRC.
This commit is contained in:
parent
ce52e45d44
commit
fce095665c
@ -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…
Reference in New Issue
Block a user