Skip to content

Commit 2bf2ee7

Browse files
committed
Seems like make clean or make distclean should clean out contrib
directories too, not only src and doc.
1 parent 3d0e496 commit 2bf2ee7

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

GNUmakefile.in

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# PostgreSQL top level makefile
33
#
4-
# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.14 2000/10/02 22:21:21 petere Exp $
4+
# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.15 2000/12/04 00:34:40 tgl Exp $
55
#
66

77
subdir =
@@ -18,14 +18,22 @@ install:
1818
$(MAKE) -C src install
1919
@cat $(srcdir)/register.txt
2020

21-
installdirs uninstall clean distprep:
21+
installdirs uninstall distprep:
2222
$(MAKE) -C doc $@
2323
$(MAKE) -C src $@
2424

25-
# Important: distclean `doc' before `src', otherwise Makefile.global
25+
# clean, distclean, etc should apply to contrib too, even though
26+
# it's not built by default
27+
clean:
28+
$(MAKE) -C doc $@
29+
$(MAKE) -C contrib $@
30+
$(MAKE) -C src $@
31+
32+
# Important: distclean `src' last, otherwise Makefile.global
2633
# will be gone too soon.
2734
distclean maintainer-clean:
2835
-$(MAKE) -C doc $@
36+
-$(MAKE) -C contrib $@
2937
-$(MAKE) -C src $@
3038
-rm -f config.cache config.log config.status GNUmakefile
3139

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy