diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-04-28 15:37:02 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-04-28 15:37:02 +0100 |
commit | fce095665c62eb38826f42ae55a0fbe998f18be0 (patch) | |
tree | 88660b82c3b598afaedbf0042df032968b835573 | |
parent | ce52e45d44b38fcedfe27bce519ce6f4fc76a25d (diff) | |
download | rtmux-fce095665c62eb38826f42ae55a0fbe998f18be0.tar.gz rtmux-fce095665c62eb38826f42ae55a0fbe998f18be0.tar.bz2 rtmux-fce095665c62eb38826f42ae55a0fbe998f18be0.zip |
Use $(srcdir) for generating tmux.1, reported by fasta_ on IRC.
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 726582a5..3eb3190f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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. |