File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,19 @@ uninstall: uninstall-local
50
50
uninstall-local :
51
51
rm -f $(addprefix '$(DESTDIR )$(pgxsdir ) /$(subdir ) '/, Makefile.global Makefile.port Makefile.shlib nls-global.mk)
52
52
53
+ distprep :
54
+ $(MAKE ) -C test/isolation $@
55
+
53
56
clean :
54
57
$(MAKE ) -C test $@
55
58
$(MAKE ) -C tutorial NO_PGXS=1 $@
59
+ $(MAKE ) -C test/isolation $@
56
60
$(MAKE ) -C test/thread $@
57
61
58
62
distclean maintainer-clean :
59
63
$(MAKE ) -C test $@
60
64
$(MAKE ) -C tutorial NO_PGXS=1 $@
65
+ $(MAKE ) -C test/isolation $@
61
66
$(MAKE ) -C test/thread $@
62
67
rm -f Makefile.port Makefile.global
63
68
Original file line number Diff line number Diff line change @@ -193,10 +193,12 @@ utils/probes.o: utils/probes.d $(SUBDIROBJS)
193
193
194
194
# #########################################################################
195
195
196
+ # Be sure that these files get removed by the maintainer-clean target
196
197
distprep :
197
198
$(MAKE ) -C parser gram.c gram.h scan.c
198
199
$(MAKE ) -C bootstrap bootparse.c bootscanner.c
199
200
$(MAKE ) -C catalog schemapg.h postgres.bki postgres.description postgres.shdescription
201
+ $(MAKE ) -C replication repl_gram.c repl_scanner.c
200
202
$(MAKE ) -C utils fmgrtab.c fmgroids.h errcodes.h
201
203
$(MAKE ) -C utils/misc guc-file.c
202
204
@@ -300,12 +302,14 @@ maintainer-clean: distclean
300
302
rm -f bootstrap/bootparse.c \
301
303
bootstrap/bootscanner.c \
302
304
parser/gram.c \
303
- parser/scan.c \
304
305
parser/gram.h \
306
+ parser/scan.c \
305
307
catalog/schemapg.h \
306
308
catalog/postgres.bki \
307
309
catalog/postgres.description \
308
310
catalog/postgres.shdescription \
311
+ replication/repl_gram.c \
312
+ replication/repl_scanner.c \
309
313
utils/fmgroids.h \
310
314
utils/fmgrtab.c \
311
315
utils/errcodes.h \
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ all: isolationtester pg_isolation_regress
29
29
isolationtester : $(OBJS ) | submake-libpq submake-libpgport
30
30
$(CC ) $(CFLAGS ) $(OBJS ) $(libpq_pgport ) $(LDFLAGS ) $(LDFLAGS_EX ) $(LIBS ) -o $@ $(X )
31
31
32
- distprep : specparse.c
32
+ distprep : specparse.c specscanner.c
33
33
34
34
# There is no correct way to write a rule that generates two files.
35
35
# Rules with two targets don't have that meaning, they are merely
@@ -58,7 +58,9 @@ ifdef FLEX
58
58
else
59
59
@$(missing) flex $< $@
60
60
endif
61
- # specparse.c is in the distribution tarball, so is not cleaned here
61
+
62
+ # specparse.c and specscanner.c are in the distribution tarball,
63
+ # so do not clean them here
62
64
clean distclean :
63
65
rm -f isolationtester$(X ) pg_isolation_regress$(X ) $(OBJS ) isolation_main.o
64
66
rm -f pg_regress.o
You can’t perform that action at this time.
0 commit comments