Commit 2bf2ee78 authored by Tom Lane's avatar Tom Lane

Seems like make clean or make distclean should clean out contrib

directories too, not only src and doc.
parent 3d0e4962
# #
# PostgreSQL top level makefile # PostgreSQL top level makefile
# #
# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.14 2000/10/02 22:21:21 petere Exp $ # $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.15 2000/12/04 00:34:40 tgl Exp $
# #
subdir = subdir =
...@@ -18,14 +18,22 @@ install: ...@@ -18,14 +18,22 @@ install:
$(MAKE) -C src install $(MAKE) -C src install
@cat $(srcdir)/register.txt @cat $(srcdir)/register.txt
installdirs uninstall clean distprep: installdirs uninstall distprep:
$(MAKE) -C doc $@ $(MAKE) -C doc $@
$(MAKE) -C src $@ $(MAKE) -C src $@
# Important: distclean `doc' before `src', otherwise Makefile.global # clean, distclean, etc should apply to contrib too, even though
# it's not built by default
clean:
$(MAKE) -C doc $@
$(MAKE) -C contrib $@
$(MAKE) -C src $@
# Important: distclean `src' last, otherwise Makefile.global
# will be gone too soon. # will be gone too soon.
distclean maintainer-clean: distclean maintainer-clean:
-$(MAKE) -C doc $@ -$(MAKE) -C doc $@
-$(MAKE) -C contrib $@
-$(MAKE) -C src $@ -$(MAKE) -C src $@
-rm -f config.cache config.log config.status GNUmakefile -rm -f config.cache config.log config.status GNUmakefile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment