diff --git a/Makefile.am b/Makefile.am index 597bf116..2421533f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -409,11 +409,15 @@ dist-hook: touch $(distdir)/demos/calc/calc.c $(distdir)/demos/calc/calcread.c $(distdir)/demos/calc/calc-common.h $(distdir)/demos/calc/calc.h $(distdir)/demos/calc/calclex.c chmod 755 $(distdir)/config.guess $(distdir)/configfsf.guess $(distdir)/configfsf.sub $(distdir)/config.sub rm -f $(distdir)/yasm/Makefile.in - ( VAR=0 ; IFS=$(echo -e "\n") ; cat $(srcdir)/yasm/Makefile.in | while read -r LINE ; do \ + ( VAR=0 ; \ + IFS=$(echo -e "\n") ; \ + cat $(srcdir)/yasm/Makefile.in | while read -r LINE ; do \ if test `echo $$LINE | grep -ce "^[[:alpha:]]"` -eq 1 ; then VAR=0 ; fi ; \ if test `echo $$LINE | grep -ce "^install:"` -eq 1 ; then VAR=1 ; echo "install:" ; fi ; \ if test `echo $$VAR` -eq 0 ; then /bin/echo -E "$$LINE" ; fi ; done ) | \ - ( VAR=0 ; IFS=$(echo -e "\n") ; while read -r LINE ; do \ + ( VAR=0 ; \ + IFS=$(echo -e "\n") ; \ + while read -r LINE ; do \ if test `echo $$LINE | grep -ce "^[[:alpha:]]"` -eq 1 ; then VAR=0 ; fi ; \ if test `echo $$LINE | grep -ce "^check:"` -eq 1 ; then VAR=1 ; echo "check:" ; fi ; \ if test `echo $$VAR` -eq 0 ; then /bin/echo -E "$$LINE" ; fi ; done ) > $(distdir)/yasm/Makefile.in