tweek makefile.am for autotools

This commit is contained in:
jasonmoxham 2010-05-25 20:08:20 +00:00
parent f72dba4773
commit 5b43c37c15

View File

@ -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 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 chmod 755 $(distdir)/config.guess $(distdir)/configfsf.guess $(distdir)/configfsf.sub $(distdir)/config.sub
rm -f $(distdir)/yasm/Makefile.in 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 "^[[: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 $$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 ) | \ 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 "^[[: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 $$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 if test `echo $$VAR` -eq 0 ; then /bin/echo -E "$$LINE" ; fi ; done ) > $(distdir)/yasm/Makefile.in