doc/Makefile: fix man pages uninstall path
authorStefano Sabatini <stefasab@gmail.com>
Thu, 24 Oct 2013 19:14:55 +0000 (21:14 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 24 Oct 2013 19:19:52 +0000 (21:19 +0200)
Fix trac ticket #3054.

doc/Makefile

index 7415899..50a68b4 100644 (file)
@@ -120,8 +120,8 @@ uninstall-html:
        $(RM) -r "$(DOCDIR)"
 
 uninstall-man:
-       $(RM) $(addprefix "$(MANDIR)/man1/",$(MANPAGES1))
-       $(RM) $(addprefix "$(MANDIR)/man3/",$(MANPAGES3))
+       $(RM) $(addprefix "$(MANDIR)/man1/",$(PROGS-yes:%=%.1) $(PROGS-yes:%=%-all.1) $(COMPONENTS-yes:%=%.1))
+       $(RM) $(addprefix "$(MANDIR)/man3/",$(LIBRARIES-yes:%=%.3))
 
 clean:: docclean