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: jit-before-rebase-2017-11-03~5399 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=82ec7c95b701d18530eb4eed923a305a0d82bdaf;p=users%2Fandresfreund%2Fpostgres.git 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)/*)