summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/Makefile.am1
-rw-r--r--scripts/Makefile.am1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 5139b54d..3cc1e578 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -66,6 +66,7 @@ $(BASHSCRIPTS): Makefile
$(AM_V_at)$(RM) $@
$(AM_V_GEN)test -f $(srcdir)/$@.sh.in && m4 -P -I $(srcdir) $(srcdir)/$@.sh.in | $(edit) >$@
$(AM_V_at)chmod +x,a-w $@
+ @$(BASH_SHELL) -O extglob -n $@
$(OURFILES): Makefile
$(AM_V_at)$(RM) $@ $@.tmp
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index b8a19900..06e9095e 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -64,6 +64,7 @@ $(OURSCRIPTS): Makefile
$(AM_V_at)$(RM) $@
$(AM_V_GEN)test -f $(srcdir)/$@.sh.in && m4 -P -I $(srcdir) $(srcdir)/$@.sh.in | $(edit) >$@
$(AM_V_at)chmod +x,a-w $@
+ @$(BASH_SHELL) -O extglob -n $@
makepkg: \
$(srcdir)/makepkg.sh.in \