diff --git a/docs/Makefile.am b/docs/Makefile.am index 02eca6479ad0fad2d6e889135226fb1fd4b90cfa..1b4353b2629d45ea7be8a68338aba3f40f217327 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -366,8 +366,8 @@ install-data-local: $(INSTALL_DATA) $(srcdir)/libvirtLogo.png $(DESTDIR)$(pkgdatadir) uninstall-local: - for h in $(apihtml); do rm $(DESTDIR)$(HTML_DIR)/$$h; done - for p in $(apipng); do rm $(DESTDIR)$(HTML_DIR)/$$p; 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 $(devhelphtml) $(devhelppng) $(devhelpcss); do \ - rm $(DESTDIR)$(DEVHELP_DIR)/$$(basename $$f); \ + rm -f $(DESTDIR)$(DEVHELP_DIR)/$$(basename $$f); \ done