From: Bruce Momjian Date: Thu, 7 May 2015 14:26:08 +0000 (-0400) Subject: Makefile: Add comment that doc uninstall clears man directories X-Git-Tag: REL9_5_ALPHA1~324 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82ec7c95b701d18530eb4eed923a305a0d82bdaf;p=postgresql Makefile: Add comment that doc uninstall clears man directories Report by Mario Valdez --- diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 8bdd26ce28..f04e57246d 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -331,6 +331,7 @@ endif installdirs: $(MKDIR_P) '$(DESTDIR)$(htmldir)'/html $(addprefix '$(DESTDIR)$(mandir)'/man, 1 3 $(sqlmansectnum)) +# If the install used a man directory shared with other applications, this will remove all files. uninstall: rm -f '$(DESTDIR)$(htmldir)/html/'* $(addprefix '$(DESTDIR)$(mandir)'/man, 1/* 3/* $(sqlmansectnum)/*)