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.
This commit is contained in:
Marc G. Fournier 1998-01-17 23:39:35 +00:00
parent 4aa861cabb
commit 8169769ee5
5 changed files with 12 additions and 8 deletions

View File

@ -33,4 +33,4 @@ $(CONTRIBDIR):
-e "s:_DLSUFFIX_:$(DLSUFFIX):g" < $< > $@
clean:
rm -f $(TARGETS)
rm -f $(TARGETS) *.o

View File

@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.23 1998/01/13 04:43:22 scrappy Exp $
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.24 1998/01/17 23:39:05 scrappy Exp $
#
#-------------------------------------------------------------------------
@ -62,6 +62,7 @@ clean:
$(MAKE) -C interfaces clean
$(MAKE) -C bin clean
$(MAKE) -C test clean
$(MAKE) -C ../contrib/spi clean
ifneq ($(wildcard man), )
$(MAKE) -C man clean
endif
@ -78,6 +79,9 @@ distclean: clean
bin/pg_dump/Makefile \
bin/pg_version/Makefile \
include/config.h \
include/dynloader.h \
backend/port/tas.s \
backend/port/dynloader.c \
backend/utils/Gen_fmgrtab.sh \
interfaces/libpq/Makefile \
interfaces/libpgtcl/Makefile \

View File

@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.3 1998/01/17 23:33:39 scrappy Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.4 1998/01/17 23:39:11 scrappy Exp $
#
#-------------------------------------------------------------------------
@ -166,7 +166,7 @@ depend dep:
.PHONY: clean
clean:
rm -f libpq.a $(shlib) $(OBJS) c.h
rm -f libpq.a $(shlib) $(OBJS) c.h dllist.c pqcomprim.c libpq.so
ifeq (depend,$(wildcard depend))
include depend

View File

@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.13 1998/01/01 05:37:29 thomas Exp $
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.14 1998/01/17 23:39:22 scrappy Exp $
#
#-------------------------------------------------------------------------
@ -54,7 +54,7 @@ runtest: $(INFILES)
@echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILE regress.out"
clean:
rm -f $(INFILES)
rm -f $(INFILES) regress.out
$(MAKE) -C sql clean
$(MAKE) -C expected clean
$(MAKE) -C results clean

View File

@ -7,11 +7,11 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/test/regress/expected/Attic/Makefile,v 1.2 1997/08/28 04:49:17 vadim Exp $
# $Header: /cvsroot/pgsql/src/test/regress/expected/Attic/Makefile,v 1.3 1998/01/17 23:39:35 scrappy Exp $
#
#-------------------------------------------------------------------------
CLFILES= create_function_1.out create_function_2.out copy.out constraints.out
CLFILES= create_function_1.out create_function_2.out copy.out constraints.out misc.out
clean:
rm -f $(CLFILES)