Generate tmux.1 using mdoc2man.awk on Solaris, issue brought up and changes

tested by Dagobert Michelsen.
This commit is contained in:
Nicholas Marriott
2013-04-16 11:33:53 +01:00
parent 9e537c808b
commit c24b58e2ee
5 changed files with 388 additions and 2 deletions

View File

@ -2,12 +2,14 @@
# Obvious program stuff.
bin_PROGRAMS = tmux
dist_man1_MANS = tmux.1
nodist_man1_MANS = tmux.1
CLEANFILES = tmux.1
# Distribution tarball options.
EXTRA_DIST = \
CHANGES FAQ README TODO examples compat \
array.h compat.h tmux.h osdep-*.c
array.h compat.h tmux.h osdep-*.c mdoc2man.awk \
tmux.1.in
dist-hook:
grep "^#found_debug=" configure
find $(distdir) -name .svn -type d|xargs rm -Rf
@ -232,6 +234,14 @@ if NO_B64_NTOP
nodist_tmux_SOURCES += compat/b64_ntop.c
endif
# Build tmux.1 in the right format.
tmux.1: tmux.1.in
if test x@MANFORMAT@ = xmdoc; then \
cp tmux.1.in tmux.1; \
else \
$(AWK) -fmdoc2man.awk tmux.1.in >tmux.1; \
fi
# Update SF web site.
upload-index.html: update-index.html
scp www/index.html www/main.css www/images/*.png \