]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Makefile: Replace brace expansion
authorPhil Sutter <phil@nwl.cc>
Tue, 10 Jan 2023 16:27:42 +0000 (17:27 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 10 Jan 2023 16:47:28 +0000 (17:47 +0100)
According to bash(1), it is not supported by "historical versions of
sh". Dash seems to be such a historical version.

Reported-by: Pablo Neira Ayuso <pablo@netfilter.org>
Fixes: 3822a992bc277 ("Makefile: Fix for 'make distcheck'")
Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/GNUmakefile.in

index c37e4619f91f908d058b4b1ca976ba8bb45b1424..e289adf06547f3b5147ffc1fed6500952cb4a6f0 100644 (file)
@@ -106,7 +106,8 @@ uninstall:
        }
 
 clean:
-       rm -f *.o *.oo *.so *.a {matches,targets}.man initext.c initext4.c initext6.c initextb.c initexta.c;
+       rm -f *.o *.oo *.so *.a matches.man targets.man
+       rm -f initext.c initext4.c initext6.c initextb.c initexta.c
        rm -f .*.d .*.dd;
 
 distclean: clean
@@ -243,7 +244,7 @@ distdir:
        mkdir -p $(distdir)
        cp -p ${dist_sources} $(distdir)/
        cp -p $(wildcard ${srcdir}/lib*.man) $(distdir)/
-       cp -p $(srcdir)/*.{t,txlate} $(distdir)/
+       cp -p $(wildcard ${srcdir}/*.t ${srcdir}/*.txlate) $(distdir)/
 
 dvi:
 check: all