move touch fips files for non fips distribution to autogen.sh for cleaner autoconf handling

pull/165/head^2
toddouska 2015-10-14 09:18:05 -07:00
parent d7772dd254
commit 52cdf85e26
3 changed files with 3 additions and 8 deletions

View File

@ -113,9 +113,6 @@ tests/unit.log: testsuite/testsuite.log
DISTCLEANFILES+= cyassl-config
DISTCLEANFILES+= wolfssl-config
# fips files shouldn't be left after make distclean
DISTCLEANFILES+= ctaocrypt/src/fips.c
DISTCLEANFILES+= ctaocrypt/src/fips_test.c
maintainer-clean-local:
-rm Makefile.in

View File

@ -15,6 +15,9 @@ fi
# If this is a source checkout then call autoreconf with error as well
if test -d .git; then
WARNINGS="all,error"
# touch fips files for non fips distribution
touch ./ctaocrypt/src/fips.c
touch ./ctaocrypt/src/fips_test.c
else
WARNINGS="all"
fi

View File

@ -2319,11 +2319,6 @@ AC_OUTPUT
echo "---"
echo "Running make clean..."
make clean >/dev/null 2>&1
# Touch files that may not be in repository
echo "Touching File..."
touch ctaocrypt/src/fips.c
touch ctaocrypt/src/fips_test.c
echo
# generate user options header
echo "---"