From dd9bb5f376e1367a54b307c26bf4d888976c2d20 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 12 Nov 2014 17:40:05 +0100 Subject: [PATCH] man: fix `make uninstall` to remove the nmtui manual pages Fixes: 1e8b681d4f10c2b5e9478ec4972cad64aa1f8e7c Signed-off-by: Thomas Haller --- man/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/Makefile.am b/man/Makefile.am index 66f479dd5..5d0386ff3 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -90,6 +90,10 @@ install-data-hook: ln -f $(DESTDIR)$(mandir)/man1/nmtui.1 $(DESTDIR)$(mandir)/man1/$$link.1; \ done +uninstall-hook: + for link in $(links); do \ + rm -f $(DESTDIR)$(mandir)/man1/$$link.1; \ + done if ENABLE_GTK_DOC man_MANS += $(docbook_generated_man_pages)