From: Peter Eisentraut Date: Tue, 19 Jul 2022 05:31:58 +0000 (+0200) Subject: Clean up temp file from refactored dtrace rule X-Git-Tag: REL_16_BETA1~2199 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=4371d34f299bc261ba54f9bc3cdd1087f4336de3;p=postgresql.git Clean up temp file from refactored dtrace rule related to eb6569fd0e24e2f0502ef7b496ba0d3125bd4f15 --- diff --git a/src/backend/utils/Makefile b/src/backend/utils/Makefile index ccca0a0dd3c..37ad8defe58 100644 --- a/src/backend/utils/Makefile +++ b/src/backend/utils/Makefile @@ -57,6 +57,7 @@ errcodes.h: $(top_srcdir)/src/backend/utils/errcodes.txt generate-errcodes.pl ifeq ($(enable_dtrace), yes) probes.h: postprocess_dtrace.sed probes.h.tmp sed -f $^ >$@ + rm probes.h.tmp probes.h.tmp: probes.d $(DTRACE) -C -h -s $< -o $@ @@ -106,7 +107,7 @@ uninstall-data: # fmgroids.h, fmgrprotos.h, fmgrtab.c, fmgr-stamp, and errcodes.h are in the # distribution tarball, so they are not cleaned here. clean: - rm -f probes.h + rm -f probes.h probes.h.tmp maintainer-clean: clean rm -f fmgroids.h fmgrprotos.h fmgrtab.c fmgr-stamp errcodes.h