Skip to content

Commit 49137ec

Browse files
committed
Clean up temp installations after client program tests.
Commit 7d0f493 added infrastructure to perform tests in assorted src/bin/ subdirectories, but forgot to teach "make clean" to clean up the detritus the tests leave behind.
1 parent 1a917ae commit 49137ec

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

src/bin/initdb/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,11 @@ uninstall:
5353

5454
clean distclean maintainer-clean:
5555
rm -f initdb$(X) $(OBJS) encnames.c localtime.c
56-
56+
rm -rf tmp_check
5757

5858
# ensure that changes in datadir propagate into object file
5959
initdb.o: initdb.c $(top_builddir)/src/Makefile.global
6060

61-
6261
check: all
6362
$(prove_check)
6463

src/bin/pg_basebackup/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ clean distclean maintainer-clean:
4848
rm -f pg_basebackup$(X) pg_receivexlog$(X) pg_recvlogical$(X) \
4949
pg_basebackup.o pg_receivexlog.o pg_recvlogical.o \
5050
$(OBJS)
51+
rm -rf tmp_check
5152

5253
check: all
5354
$(prove_check)

src/bin/pg_config/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ uninstall:
4747

4848
clean distclean maintainer-clean:
4949
rm -f pg_config$(X) $(OBJS)
50+
rm -rf tmp_check
5051

5152
check: all
5253
$(prove_check)

src/bin/pg_controldata/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ uninstall:
3333

3434
clean distclean maintainer-clean:
3535
rm -f pg_controldata$(X) $(OBJS)
36+
rm -rf tmp_check
3637

3738
check: all
3839
$(prove_check)

src/bin/pg_ctl/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ uninstall:
3636

3737
clean distclean maintainer-clean:
3838
rm -f pg_ctl$(X) $(OBJS)
39+
rm -rf tmp_check
3940

4041
check: all
4142
$(prove_check)

src/bin/scripts/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,11 @@ installdirs:
6363
uninstall:
6464
rm -f $(addprefix '$(DESTDIR)$(bindir)'/, $(addsuffix $(X), $(PROGRAMS)))
6565

66-
6766
clean distclean maintainer-clean:
6867
rm -f $(addsuffix $(X), $(PROGRAMS)) $(addsuffix .o, $(PROGRAMS))
6968
rm -f common.o dumputils.o kwlookup.o keywords.o print.o mbprint.o $(WIN32RES)
7069
rm -f dumputils.c print.c mbprint.c kwlookup.c keywords.c
71-
70+
rm -rf tmp_check
7271

7372
check: all
7473
$(prove_check)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy