Uninstall the man page too.

This commit is contained in:
Nicholas Marriott
2026-05-28 15:19:36 +01:00
parent 481d8299ca
commit f066933418

View File

@@ -240,6 +240,7 @@ if ENABLE_SIXEL
dist_tmux_SOURCES += image.c image-sixel.c dist_tmux_SOURCES += image.c image-sixel.c
endif endif
# Add bits for fuzzing if enabled.
if NEED_FUZZING if NEED_FUZZING
check_PROGRAMS = \ check_PROGRAMS = \
fuzz/input-fuzzer \ fuzz/input-fuzzer \
@@ -268,3 +269,7 @@ install-exec-hook:
$(mkdir_p) $(DESTDIR)$(mandir)/man1 $(mkdir_p) $(DESTDIR)$(mandir)/man1
$(INSTALL_DATA) $(srcdir)/tmux.1.@MANFORMAT@ \ $(INSTALL_DATA) $(srcdir)/tmux.1.@MANFORMAT@ \
$(DESTDIR)$(mandir)/man1/tmux.1 $(DESTDIR)$(mandir)/man1/tmux.1
# And uninstall it.
uninstall-hook:
rm -f $(DESTDIR)$(mandir)/man1/tmux.1