Enable LaTeXConfig.lyx to be generated on Windows by fixing the line endings of the generated chkconfig.sed script.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9972 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-05-25 13:00:17 +00:00
parent 0f51d7cabf
commit 0f41db9697
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-05-25 Angus Leeming <leeming@lyx.org>
* configure.m4: strip '\r' characters from the generated
chkconfig.sed on Windows.
2005-05-16 Michael Schmitt <michael.schmitt@teststep.org>
* ui/stdmenus.ui

View File

@ -552,6 +552,14 @@ changequote(,)dnl
echo "creating doc/LaTeXConfig.lyx"
echo "s/@chk_linuxdoc@/$chk_linuxdoc/g" >> chkconfig.sed
echo "s/@chk_docbook@/$chk_docbook/g" >> chkconfig.sed
test `uname -s | grep 'MINGW'` && {
# Before running chkconfig.sed, remove the trailing '\r'
# characters that can bugger up various versions of sed.
tr -d '\r' < chkconfig.sed > chkconfig2.sed
mv -f chkconfig2.sed chkconfig.sed
}
sed -f chkconfig.sed "${srcdir}"/doc/LaTeXConfig.lyx.in >doc/LaTeXConfig.lyx
### Let's check whether spaces are allowed in TeX file names