Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8169769

Browse files
committed
From: "Michael J. Maravillo" <mmj@philonline.com>
This patch makes it possible to do a "real" make distclean (back to its fresh state) on the distribution after compilation, regression testing, etc.
1 parent 4aa861c commit 8169769

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

contrib/spi/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ $(CONTRIBDIR):
3333
-e "s:_DLSUFFIX_:$(DLSUFFIX):g" < $< > $@
3434

3535
clean:
36-
rm -f $(TARGETS)
36+
rm -f $(TARGETS) *.o

src/GNUmakefile.in

+5-1
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.23 1998/01/13 04:43:22 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.24 1998/01/17 23:39:05 scrappy Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -62,6 +62,7 @@ clean:
6262
$(MAKE) -C interfaces clean
6363
$(MAKE) -C bin clean
6464
$(MAKE) -C test clean
65+
$(MAKE) -C ../contrib/spi clean
6566
ifneq ($(wildcard man), )
6667
$(MAKE) -C man clean
6768
endif
@@ -78,6 +79,9 @@ distclean: clean
7879
bin/pg_dump/Makefile \
7980
bin/pg_version/Makefile \
8081
include/config.h \
82+
include/dynloader.h \
83+
backend/port/tas.s \
84+
backend/port/dynloader.c \
8185
backend/utils/Gen_fmgrtab.sh \
8286
interfaces/libpq/Makefile \
8387
interfaces/libpgtcl/Makefile \

src/interfaces/libpq/Makefile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.3 1998/01/17 23:33:39 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.4 1998/01/17 23:39:11 scrappy Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -166,7 +166,7 @@ depend dep:
166166

167167
.PHONY: clean
168168
clean:
169-
rm -f libpq.a $(shlib) $(OBJS) c.h
169+
rm -f libpq.a $(shlib) $(OBJS) c.h dllist.c pqcomprim.c libpq.so
170170

171171
ifeq (depend,$(wildcard depend))
172172
include depend

src/test/regress/GNUmakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.13 1998/01/01 05:37:29 thomas Exp $
10+
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.14 1998/01/17 23:39:22 scrappy Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -54,7 +54,7 @@ runtest: $(INFILES)
5454
@echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILE regress.out"
5555

5656
clean:
57-
rm -f $(INFILES)
57+
rm -f $(INFILES) regress.out
5858
$(MAKE) -C sql clean
5959
$(MAKE) -C expected clean
6060
$(MAKE) -C results clean

src/test/regress/expected/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/test/regress/expected/Attic/Makefile,v 1.2 1997/08/28 04:49:17 vadim Exp $
10+
# $Header: /cvsroot/pgsql/src/test/regress/expected/Attic/Makefile,v 1.3 1998/01/17 23:39:35 scrappy Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

14-
CLFILES= create_function_1.out create_function_2.out copy.out constraints.out
14+
CLFILES= create_function_1.out create_function_2.out copy.out constraints.out misc.out
1515

1616
clean:
1717
rm -f $(CLFILES)

0 commit comments

Comments
 (0)