From f0669334189995dba860f59c3cf9cb12ae15865c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 28 May 2026 15:19:36 +0100 Subject: [PATCH] Uninstall the man page too. --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.am b/Makefile.am index 068df02c..ba9142fe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -240,6 +240,7 @@ if ENABLE_SIXEL dist_tmux_SOURCES += image.c image-sixel.c endif +# Add bits for fuzzing if enabled. if NEED_FUZZING check_PROGRAMS = \ fuzz/input-fuzzer \ @@ -268,3 +269,7 @@ install-exec-hook: $(mkdir_p) $(DESTDIR)$(mandir)/man1 $(INSTALL_DATA) $(srcdir)/tmux.1.@MANFORMAT@ \ $(DESTDIR)$(mandir)/man1/tmux.1 + +# And uninstall it. +uninstall-hook: + rm -f $(DESTDIR)$(mandir)/man1/tmux.1