From fafd5640d179446ac2cbb9ecb7b87a0791e199ed Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 26 May 2004 17:24:07 +0000 Subject: [PATCH] Recent commits added created files that weren't getting deleted by 'make clean'. --- src/bin/pg_controldata/Makefile | 4 ++-- src/bin/scripts/Makefile | 10 ++++++---- src/interfaces/ecpg/pgtypeslib/Makefile | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/bin/pg_controldata/Makefile b/src/bin/pg_controldata/Makefile index 17da280570..d98ed1831c 100644 --- a/src/bin/pg_controldata/Makefile +++ b/src/bin/pg_controldata/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1998-2002, PostgreSQL Global Development Group # -# $PostgreSQL: pgsql/src/bin/pg_controldata/Makefile,v 1.8 2004/05/25 01:00:23 momjian Exp $ +# $PostgreSQL: pgsql/src/bin/pg_controldata/Makefile,v 1.9 2004/05/26 17:24:01 tgl Exp $ # #------------------------------------------------------------------------- @@ -37,4 +37,4 @@ uninstall: rm -f $(DESTDIR)$(bindir)/pg_controldata$(X) clean distclean maintainer-clean: - rm -f pg_controldata$(X) pg_controldata.o pg_crc.o pg_crc.c exec.c + rm -f pg_controldata$(X) $(OBJS) pg_crc.c exec.c diff --git a/src/bin/scripts/Makefile b/src/bin/scripts/Makefile index 15b692e2db..b0e1f95f1b 100644 --- a/src/bin/scripts/Makefile +++ b/src/bin/scripts/Makefile @@ -5,7 +5,7 @@ # Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group # Portions Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/bin/scripts/Makefile,v 1.27 2004/05/25 01:00:27 momjian Exp $ +# $PostgreSQL: pgsql/src/bin/scripts/Makefile,v 1.28 2004/05/26 17:24:05 tgl Exp $ # #------------------------------------------------------------------------- @@ -31,10 +31,10 @@ dropuser: dropuser.o common.o exec.o dumputils.o $(top_builddir)/src/backend/par clusterdb: clusterdb.o common.o exec.o dumputils.o $(top_builddir)/src/backend/parser/keywords.o vacuumdb: vacuumdb.o common.o exec.o -exec.c: % : $(top_srcdir)/src/port/% +dumputils.c: % : $(top_srcdir)/src/bin/pg_dump/% rm -f $@ && $(LN_S) $< . -dumputils.c: % : $(top_srcdir)/src/bin/pg_dump/% +exec.c: % : $(top_srcdir)/src/port/% rm -f $@ && $(LN_S) $< . print.c mbprint.c : % : $(top_srcdir)/src/bin/psql/% @@ -63,4 +63,6 @@ uninstall: clean distclean maintainer-clean: - rm -f $(addsuffix $(X), $(PROGRAMS)) $(addsuffix .o, $(PROGRAMS)) common.o dumputils.o print.o mbprint.o dumputils.c exec.c print.c mbprint.c + rm -f $(addsuffix $(X), $(PROGRAMS)) $(addsuffix .o, $(PROGRAMS)) + rm -f common.o dumputils.o exec.o print.o mbprint.o + rm -f dumputils.c exec.c print.c mbprint.c diff --git a/src/interfaces/ecpg/pgtypeslib/Makefile b/src/interfaces/ecpg/pgtypeslib/Makefile index 14d31a44d8..2993018159 100644 --- a/src/interfaces/ecpg/pgtypeslib/Makefile +++ b/src/interfaces/ecpg/pgtypeslib/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.20 2004/05/24 01:01:38 momjian Exp $ +# $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.21 2004/05/26 17:24:07 tgl Exp $ # #------------------------------------------------------------------------- @@ -45,7 +45,7 @@ installdirs: uninstall: uninstall-lib clean distclean maintainer-clean: clean-lib - rm -f $(OBJS) + rm -f $(OBJS) rint.c pgstrcasecmp.c depend dep: $(CC) -MM $(CFLAGS) *.c >depend -- GitLab