Our uninstall script is not exact counterpart of install one.
Therefore we are leaving couple of files behind. This should not
happen.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
docs/Makefile.am | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/Makefile.am b/docs/Makefile.am
index c80c37b..9524c94 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -363,8 +363,14 @@ install-data-local:
$(INSTALL_DATA) $(srcdir)/libvirtLogo.png $(DESTDIR)$(pkgdatadir)
uninstall-local:
+ for f in $(css) $(dot_html) $(gif) $(png); do \
+ rm -f $(DESTDIR)$(HTML_DIR)/$$f; \
+ done
for h in $(apihtml); do rm -f $(DESTDIR)$(HTML_DIR)/$$h; done
for p in $(apipng); do rm -f $(DESTDIR)$(HTML_DIR)/$$p; done
+ for f in $(internals_html); do \
+ rm -f $(DESTDIR)$(HTML_DIR)/$$f; \
+ done
for f in $(devhelphtml) $(devhelppng) $(devhelpcss); do \
rm -f $(DESTDIR)$(DEVHELP_DIR)/$$(basename $$f); \
done
--
2.7.3