forcing a dist-clean in the cleantest was a bad idea. Just change the script

that generates buildopts.h to handle old menuselect.makeopts files


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant 2006-05-11 10:28:37 +00:00
parent a541309599
commit 1a8f3dd2d2
2 changed files with 2 additions and 2 deletions

View File

@ -965,7 +965,7 @@ env:
cleantest:
@if cmp -s .cleancount .lastclean ; then echo ; else \
$(MAKE) dist-clean; cp -f .cleancount .lastclean;\
$(MAKE) clean; cp -f .cleancount .lastclean;\
fi
_uninstall:

View File

@ -7,7 +7,7 @@ cat << END
*/
END
TMP=`grep MENUSELECT_CFLAGS menuselect.makeopts | sed s/MENUSELECT_CFLAGS\=//g`
TMP=`grep MENUSELECT_CFLAGS menuselect.makeopts | sed s/MENUSELECT_CFLAGS\=//g | sed s/-D//g`
for x in ${TMP}; do
echo "#define ${x}"
done