mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
0f51d7cabf
commit
0f41db9697
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user