Use $(srcdir) for generating tmux.1, reported by fasta_ on IRC.

This commit is contained in:
Nicholas Marriott 2013-04-28 15:37:02 +01:00
parent ce52e45d44
commit fce095665c

View File

@ -240,10 +240,11 @@ endif
# Build tmux.1 in the right format. # Build tmux.1 in the right format.
tmux.1: tmux.1.in tmux.1: tmux.1.in
if test x@MANFORMAT@ = xmdoc; then \ 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 \ else \
sed -e "s|@SYSCONFDIR@|$(sysconfdir)|g" tmux.1.in| \ sed -e "s|@SYSCONFDIR@|$(sysconfdir)|g" $(srcdir)/tmux.1.in| \
$(AWK) -fmdoc2man.awk >tmux.1; \ $(AWK) -fmdoc2man.awk >$(srcdir)/tmux.1; \
fi fi
# Update SF web site. # Update SF web site.