Test if Makefile exists before doing make distclean

Remove --gnu from autoreconf


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@371 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aet 2002-03-22 09:50:04 +00:00
parent 94feddd9f5
commit a7c5e4e9e2
1 changed files with 4 additions and 2 deletions

View File

@ -1,11 +1,13 @@
#!/bin/sh
set -x
make distclean
if test -f Makefile; then
make distclean
fi
rm -f *.cache *.status *.log *.m4
cat aclocal/*.m4 > acinclude.m4
aclocal
libtoolize --copy --force --automake
autoheader
automake --add-missing --copy
autoreconf --gnu
autoreconf