Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd250ead

Browse files
committed
Add a clean target so that the root directory gets cleared of all
the "configure" related files on a make clean
1 parent2407a04 commitd250ead

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

‎src/GNUmakefile.in

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.5 1997/02/04 09:13:56 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.6 1997/02/19 14:03:28 scrappy Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -23,6 +23,28 @@ SPLIT = @split@
2323
ETAGS = @etags@
2424
XARGS = @xargs@
2525

26+
clean:
27+
@if test $(PORTNAME) = UNDEFINED; then \
28+
echo You must set the PORTNAME value in Makefile.global before \
29+
you can build Postgres. ;\
30+
false ;\
31+
else true;\
32+
fi
33+
$(MAKE) -C utils clean
34+
$(MAKE) -C backend clean
35+
$(MAKE) -C libpq clean
36+
ifeq ($(HAVE_Cplusplus), true)
37+
$(MAKE) -C libpq++ clean
38+
endif
39+
ifeq ($(USE_TCL), true)
40+
$(MAKE) -C libpgtcl clean
41+
endif
42+
$(MAKE) -C bin clean
43+
ifneq ($(wildcard man), )
44+
$(MAKE) -C man clean
45+
endif
46+
rm -f Makefile.global include/config.h GNUmakefile
47+
2648
.DEFAULT all:
2749
@if test $(PORTNAME) = UNDEFINED; then \
2850
echo You must set the PORTNAME value in Makefile.global before \
@@ -63,3 +85,4 @@ BACKUP:
6385

6486
.PHONY: TAGS
6587
.PHONY: BACKUP
88+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp