Skip to content

Commit

Permalink
Fix race conditions when cleaning extensions
Browse files Browse the repository at this point in the history
Clean built directories by `make distclean`, and then clean leftover
makefiles for skipped extensions.
  • Loading branch information
nobu committed Aug 11, 2022
1 parent 0c9803b commit 32d1ce9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions template/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,10 @@ ext/realclean:: ext/realclean.sub
.bundle/distclean:: .bundle/distclean.sub
.bundle/realclean:: .bundle/realclean.sub

ext/clean.sub .bundle/clean.sub:: ext/clean.mk
ext/distclean.sub .bundle/distclean.sub:: ext/distclean.mk
ext/realclean.sub .bundle/realclean.sub:: ext/realclean.mk

ext/clean.sub ext/distclean.sub ext/realclean.sub \
.bundle/clean.sub .bundle/distclean.sub .bundle/realclean.sub::
$(Q) set dummy `echo "${EXTS}" | tr , ' '`; shift; \
Expand Down

0 comments on commit 32d1ce9

Please sign in to comment.