Commit 8169769e authored by Marc G. Fournier's avatar Marc G. Fournier

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.
parent 4aa861ca
...@@ -33,4 +33,4 @@ $(CONTRIBDIR): ...@@ -33,4 +33,4 @@ $(CONTRIBDIR):
-e "s:_DLSUFFIX_:$(DLSUFFIX):g" < $< > $@ -e "s:_DLSUFFIX_:$(DLSUFFIX):g" < $< > $@
clean: clean:
rm -f $(TARGETS) rm -f $(TARGETS) *.o
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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: ...@@ -62,6 +62,7 @@ clean:
$(MAKE) -C interfaces clean $(MAKE) -C interfaces clean
$(MAKE) -C bin clean $(MAKE) -C bin clean
$(MAKE) -C test clean $(MAKE) -C test clean
$(MAKE) -C ../contrib/spi clean
ifneq ($(wildcard man), ) ifneq ($(wildcard man), )
$(MAKE) -C man clean $(MAKE) -C man clean
endif endif
...@@ -78,6 +79,9 @@ distclean: clean ...@@ -78,6 +79,9 @@ distclean: clean
bin/pg_dump/Makefile \ bin/pg_dump/Makefile \
bin/pg_version/Makefile \ bin/pg_version/Makefile \
include/config.h \ include/config.h \
include/dynloader.h \
backend/port/tas.s \
backend/port/dynloader.c \
backend/utils/Gen_fmgrtab.sh \ backend/utils/Gen_fmgrtab.sh \
interfaces/libpq/Makefile \ interfaces/libpq/Makefile \
interfaces/libpgtcl/Makefile \ interfaces/libpgtcl/Makefile \
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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: ...@@ -166,7 +166,7 @@ depend dep:
.PHONY: clean .PHONY: clean
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)) ifeq (depend,$(wildcard depend))
include depend include depend
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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) ...@@ -54,7 +54,7 @@ runtest: $(INFILES)
@echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILE regress.out" @echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILE regress.out"
clean: clean:
rm -f $(INFILES) rm -f $(INFILES) regress.out
$(MAKE) -C sql clean $(MAKE) -C sql clean
$(MAKE) -C expected clean $(MAKE) -C expected clean
$(MAKE) -C results clean $(MAKE) -C results clean
......
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
# #
# #
# IDENTIFICATION # 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: clean:
rm -f $(CLFILES) rm -f $(CLFILES)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment