mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 08:18:48 +00:00
Rename tmux.1.in back to tmux.1 and generate tmux.1.{mdoc,man} instead.
This commit is contained in:
parent
11b90bc959
commit
5b1cf02f2e
16
Makefile.am
16
Makefile.am
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
# Obvious program stuff.
|
# Obvious program stuff.
|
||||||
bin_PROGRAMS = tmux
|
bin_PROGRAMS = tmux
|
||||||
nodist_man1_MANS = tmux.1
|
CLEANFILES = tmux.1.mdoc tmux.1.man
|
||||||
CLEANFILES = tmux.1
|
|
||||||
|
|
||||||
# Distribution tarball options.
|
# Distribution tarball options.
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
CHANGES FAQ README TODO examples compat \
|
CHANGES FAQ README TODO examples compat \
|
||||||
array.h compat.h tmux.h osdep-*.c mdoc2man.awk \
|
array.h compat.h tmux.h osdep-*.c mdoc2man.awk tmux.1
|
||||||
tmux.1.in
|
|
||||||
dist-hook:
|
dist-hook:
|
||||||
grep "^#found_debug=" configure
|
grep "^#found_debug=" configure
|
||||||
find $(distdir) -name .svn -type d|xargs rm -Rf
|
find $(distdir) -name .svn -type d|xargs rm -Rf
|
||||||
@ -237,13 +235,15 @@ if NO_CFMAKERAW
|
|||||||
nodist_tmux_SOURCES += compat/cfmakeraw.c
|
nodist_tmux_SOURCES += compat/cfmakeraw.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Build tmux.1 in the right format.
|
# Install tmux.1 in the right format.
|
||||||
tmux.1: tmux.1.in
|
install-exec-hook:
|
||||||
if test x@MANFORMAT@ = xmdoc; then \
|
if test x@MANFORMAT@ = xmdoc; then \
|
||||||
cp tmux.1.in tmux.1; \
|
cp tmux.1 tmux.1.mdoc; \
|
||||||
else \
|
else \
|
||||||
$(AWK) -fmdoc2man.awk <tmux.1.in >tmux.1; \
|
$(AWK) -fmdoc2man.awk <tmux.1 >tmux.1.man; \
|
||||||
fi
|
fi
|
||||||
|
$(MKDIR_P) $(DESTDIR)$(mandir)/man1
|
||||||
|
$(INSTALL_DATA) tmux.1.@MANFORMAT@ $(DESTDIR)$(mandir)/man1/tmux.1
|
||||||
|
|
||||||
# Update SF web site.
|
# Update SF web site.
|
||||||
upload-index.html: update-index.html
|
upload-index.html: update-index.html
|
||||||
|
Loading…
Reference in New Issue
Block a user