From: Ulya Trofimovich Date: Thu, 7 Mar 2019 17:21:34 +0000 (+0000) Subject: Makefile.am: use wildcard instead of braces in macro expansion (the latter breaks... X-Git-Tag: 1.2~103 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fda031a2f68d7e761ab4b571fb4919d9a41015e;p=re2c Makefile.am: use wildcard instead of braces in macro expansion (the latter breaks on BSD). --- 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 \