summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-11-12 17:40:05 +0100
committerThomas Haller <thaller@redhat.com>2014-11-12 17:40:05 +0100
commitdd9bb5f376e1367a54b307c26bf4d888976c2d20 (patch)
treede564119f21b0d13ab592bfa59ec300445bdc2d1
parent4edab14e738fdca5c749e92429216763fc49efa0 (diff)
downloadNetworkManager-dd9bb5f376e1367a54b307c26bf4d888976c2d20.tar.gz
man: fix `make uninstall` to remove the nmtui manual pages
Fixes: 1e8b681d4f10c2b5e9478ec4972cad64aa1f8e7c Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--man/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 66f479dd53..5d0386ff38 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)