From 4fda031a2f68d7e761ab4b571fb4919d9a41015e Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Thu, 7 Mar 2019 17:21:34 +0000 Subject: [PATCH] Makefile.am: use wildcard instead of braces in macro expansion (the latter breaks on BSD). --- re2c/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/re2c/Makefile.am b/re2c/Makefile.am index 0231ab27..c5643e66 100644 --- a/re2c/Makefile.am +++ b/re2c/Makefile.am @@ -254,7 +254,7 @@ CLEANFILES = \ $(top_builddir)/$(RE2C) $(RE2CFLAGS) -o $@ $< && \ cp $(@:cc=[ch]*) $(top_srcdir)/bootstrap/$(@D); \ else \ - cp $(top_srcdir)/bootstrap/$(@:cc=[ch]*) $(@D); \ + cp $(top_srcdir)/bootstrap/$(@:cc=*) $(@D); \ fi # cannot update bootstrap with distcheck (it makes srcdir readonly), @@ -263,7 +263,7 @@ CLEANFILES = \ $(AM_V_at)$(MKDIR_P) $(@D) $(AM_V_GEN) if test $(BISON) = "no"; \ then \ - cp $(top_srcdir)/bootstrap/$(@:cc={cc,h}) $(@D); \ + cp $(top_srcdir)/bootstrap/$(@:cc=*) $(@D); \ else \ $(BISON) --output=$@ --defines=$(@:cc=h) $< && \ if test -x $(RE2C); then \ -- 2.50.1