mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
check for presence of Makefile.in when trying to recreate it automatically with autogen.sh
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37782 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f6e7fbefce
commit
823397bc80
@ -428,7 +428,7 @@ if [ ! -f "${LyxSourceDir}"/configure -o "${LyxSourceDir}"/configure -ot "${LyxS
|
||||
else
|
||||
find "${LyxSourceDir}" -name Makefile.am -print | while read file ; do
|
||||
dname=`dirname "$file"`
|
||||
if [ "$dname/Makefile.in" -ot "$file" ]; then
|
||||
if [ -f "$dname/Makefile.in" -a "$dname/Makefile.in" -ot "$file" ]; then
|
||||
( cd "${LyxSourceDir}" && sh autogen.sh )
|
||||
break
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user