diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
index 3ee9488477f9687cac6b42b1d5409e37e1f12b46..21d6094a10ddbe1a678c168dbf1db76e42bafc85 100644
--- a/doc/doxygen/Makefile.am
+++ b/doc/doxygen/Makefile.am
@@ -47,8 +47,10 @@ install-data-local: html-dist
 	done
 
 uninstall-local:
-	rm -f $(DESTDIR)/$(doxygendir)/*.html $(DESTDIR)/$(doxygendir)/*.css \
-	$(DESTDIR)/$(doxygendir)/*.png $(DESTDIR)/$(doxygendir)/*.gif
+	rm -f $(DESTDIR)/$(doxygendir)/*.html
+	rm -f $(DESTDIR)/$(doxygendir)/*.css
+	rm -f $(DESTDIR)/$(doxygendir)/*.png
+	rm -f $(DESTDIR)/$(doxygendir)/*.gif
 
 # what files does the doxygen-generated stuff depend on (find-syntax)
 DEPENDON = -name \*.cc -o -name \*.hh -o -name \*.png