From: Keith Marshall Date: Wed, 3 Jun 2020 18:17:03 +0000 (+0100) Subject: Discard obsolete distribution files from subdirectories. X-Git-Tag: wsl-5.3.3-release~1 X-Git-Url: http://git.osdn.net/view?p=mingw%2Fmingw-org-wsl.git;a=commitdiff_plain;h=fc7c2d04d97173411aaa56d15b9a07f6eb787148 Discard obsolete distribution files from subdirectories. --- diff --git a/ChangeLog b/ChangeLog index 9d3ac8b..6eef72d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2020-06-03 Keith Marshall + Discard obsolete distribution files from subdirectories. + + * Makefile.in (dist-subdirs): Add dependency on... + (dist-subdirs-discard-obsolete): ...this new rule; define it. + +2020-06-03 Keith Marshall + Revert 2020-05-27 changes relating to issue #40438. * VERSION.m4 (LIBMINGWEX): Increment DLL age; this has the effect of diff --git a/Makefile.in b/Makefile.in index 8af42ca..56efd5d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -110,6 +110,9 @@ dist: dist-subdirs dist-extra for file in $(addsuffix /$@/*,${subdirs}); do \ test -f $$file && $(LN) $$file $@; done +dist-subdirs: dist-subdirs-discard-obsolete +dist-subdirs-discard-obsolete:; $(RM) $(addsuffix /dist/*.tar*,${subdirs}) + LUA = @LUA@ LUACMD = $(if $(LUA),$(LUA) -e,false)