today¦s cursed G·N·U Make recipe
@for target in $$($(MAKE) -s -f '$<' listout QUIET=1 $(SHUSHEOPTS)); do if test '-d' "$(BUILDDIR)/public/$$target" && test '!' -d "$(DESTDIR)/$$target"; then mkdir -p "$(DESTDIR)/$$target"; fi; for file in $$(find "$(BUILDDIR)/public/$$target" -not '(' -name '.*' -or -type d ')'); do printf '%s\n' "$$file" | sed 's:$(BUILDDIR)/public/:/:;s:/_\(.*\)_\(\..*\)$$:/[\1]\2:g;s/¦/:/g;' | xargs printf 'Copying <%s>…\n' >&2; printf '%s\n' "$$file" | sed 's:$(BUILDDIR)/public/:$(DESTDIR)/:;s:/_\(.*\)_\(\..*\)$$:/[\1]\2:g;s/¦/:/g' | xargs cp "$$file"; done; done