]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Don't leave any documentation behind
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 19 Apr 2016 11:22:27 +0000 (13:22 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 20 Apr 2016 15:34:06 +0000 (17:34 +0200)
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@redhat.com>
docs/Makefile.am

index c80c37b4e48b8ae8b8eff8dbd06b414916b98fc5..9524c94fc8eda4dabb34f5837bdbfc211af4e436 100644 (file)
@@ -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