Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+11-3
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)