]> git.lyx.org Git - features.git/commitdiff
fix lib/configure.py invocation for builddir != srcdir
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 18 Mar 2006 16:14:31 +0000 (16:14 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 18 Mar 2006 16:14:31 +0000 (16:14 +0000)
(create the lib directorty if it does not exist before running the script)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13417 a592a061-630c-0410-9148-cb99ea01b6c8

configure.ac

index ea83e9b0b4076702fbc3d3db410334d958f643f4..c9e0f7566e596caeb860b05993afe0acb0564e88 100644 (file)
@@ -474,7 +474,7 @@ AC_CONFIG_FILES([Makefile  m4/Makefile \
        src/frontends/qt4/ui/Makefile \
 ])
 echo "Running $LYX_ABS_TOP_SRCDIR/lib/configure.py --with-version-suffix=\"$version_suffix\""
-(cd lib && python $LYX_ABS_TOP_SRCDIR/lib/configure.py --with-version-suffix="$version_suffix")
+(test -d lib || mkdir lib; cd lib && python $LYX_ABS_TOP_SRCDIR/lib/configure.py --with-version-suffix="$version_suffix")
 
 AC_OUTPUT
 # show version information