diff --git a/template/exts.mk.tmpl b/template/exts.mk.tmpl index c5f8478d76..5595a08da1 100644 --- a/template/exts.mk.tmpl +++ b/template/exts.mk.tmpl @@ -154,7 +154,7 @@ ext/extinit.<%=objext%>: % end $(Q)<%= submake %><%=mflags%> V=$(V) $(@F) % if /^(dist|real)clean$/ =~ tgt - $(Q)$(RM) $(@D)/exts.mk + $(Q)$(RM) <%=t[%r[\A(?:\.[^/]+/)?(?:[^/]+/){2}]]%>exts.mk $(Q)$(RMDIRS) $(@D) % end % end