remove automake generated Makefiles when using qmake

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19614 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-08-16 19:07:05 +00:00
parent 6b61dd28e4
commit 8e988ba702

View File

@ -447,10 +447,34 @@ AC_CONFIG_FILES([Makefile
])
test x$with_qmake = xyes && ${srcdir}/development/qmake/doit
AC_OUTPUT
if test x$with_qmake = xyes ; then
echo "CONFIGURE WITH QMAKE ONLY"
if test x$srcdir = x ; then
echo "ONLY FOR OUT-OF-TREE-BUILDS POSSIBLE"
else
rm boost/Makefile
rm src/client/Makefile
rm src/Makefile
rm src/tex2lyx/Makefile
rm src/support/Makefile
rm src/frontends/Makefile
rm src/frontends/controllers/Makefile
rm src/frontends/qt4/Makefile
rm -rf boost/.deps
rm -rf src/client/.deps
rm -rf src/.deps
rm -rf src/tex2lyx/.deps
rm -rf src/support/.deps
rm -rf src/frontends/.deps
rm -rf src/frontends/controllers/.deps
rm -rf src/frontends/qt4/.deps
${srcdir}/development/qmake/doit
fi
fi
# show version information
echo
printf "$VERSION_INFO"