doc/Makefile: fix man pages uninstall path
authorStefano Sabatini <stefasab@gmail.com>
Thu, 24 Oct 2013 19:14:55 +0000 (21:14 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 25 Oct 2013 22:49:18 +0000 (00:49 +0200)
Fix trac ticket #3054.
(cherry picked from commit af1c5388501e80e6d92704bb70610998226e5e51)

doc/Makefile

index cd24b8c..9859990 100644 (file)
@@ -103,8 +103,8 @@ endif
 uninstall: uninstall-man
 
 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