Clean up temp file from refactored dtrace rule
authorPeter Eisentraut <[email protected]>
Tue, 19 Jul 2022 05:31:58 +0000 (07:31 +0200)
committerPeter Eisentraut <[email protected]>
Tue, 19 Jul 2022 05:31:58 +0000 (07:31 +0200)
related to eb6569fd0e24e2f0502ef7b496ba0d3125bd4f15

src/backend/utils/Makefile

index ccca0a0dd3c2a60392db18449434f135f1ea8ec5..37ad8defe5895a45e9ed6c867e90a63691e83e02 100644 (file)
@@ -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