From b02c56f58419c65fb74996d65a40033b231781a3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 28 Jul 2002 15:19:59 +0000 Subject: [PATCH] Clean documentation subtree during make clean. --- doc/Makefile | 7 +++---- doc/src/Makefile | 9 +++------ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 555e0056c4..70378e4839 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/doc/Makefile,v 1.22 2002/02/06 20:29:35 petere Exp $ +# $Header: /cvsroot/pgsql/doc/Makefile,v 1.23 2002/07/28 15:19:59 petere Exp $ # #---------------------------------------------------------------------------- @@ -97,7 +97,6 @@ ifdef found_man endif -clean: +clean distclean maintainer-clean: rm -rf man1/ man$(sqlmansectnum)/ man$(sqlmansect_dummy)/ - -distclean maintainer-clean: clean + $(MAKE) -C src $@ diff --git a/doc/src/Makefile b/doc/src/Makefile index 955892404b..66884f7371 100644 --- a/doc/src/Makefile +++ b/doc/src/Makefile @@ -1,5 +1,5 @@ # Postgres documentation makefile -# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.28 2001/11/25 22:17:27 petere Exp $ +# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.29 2002/07/28 15:19:59 petere Exp $ subdir = doc/src top_builddir = ../.. @@ -18,11 +18,8 @@ install: $(MAKE) all (mv -f *.$(ZIPSUFFIX) ..) -clean: - $(MAKE) -C sgml clean - -distclean: - $(MAKE) -C sgml distclean +clean distclean maintainer-clean: + $(MAKE) -C sgml $@ all: $(TARGETS)