man: fix make uninstall
to remove the nmtui manual pages
Fixes: 1e8b681d4f
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
@@ -90,6 +90,10 @@ install-data-hook:
|
|||||||
ln -f $(DESTDIR)$(mandir)/man1/nmtui.1 $(DESTDIR)$(mandir)/man1/$$link.1; \
|
ln -f $(DESTDIR)$(mandir)/man1/nmtui.1 $(DESTDIR)$(mandir)/man1/$$link.1; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
for link in $(links); do \
|
||||||
|
rm -f $(DESTDIR)$(mandir)/man1/$$link.1; \
|
||||||
|
done
|
||||||
|
|
||||||
if ENABLE_GTK_DOC
|
if ENABLE_GTK_DOC
|
||||||
man_MANS += $(docbook_generated_man_pages)
|
man_MANS += $(docbook_generated_man_pages)
|
||||||
|
Reference in New Issue
Block a user