+2001-01-24 John Levon <moz@compsoc.man.ac.uk>
+
+ * configure.in: working support for --with-lyx-suffix
+
+ * INSTALL: describe --with-lyx-suffix
+
2001-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* INSTALL (Problems): add tip about using --with-included-string
--with-extra-lib=DIRECTORY/lib --with-extra-inc=DIRECTORY/include
If DIRECTORY is not specified, the current prefix is used.
- o --with-lyxname=STRING sets the name of the installed LyX binary and
- of the LyX library directory to STRING. This may be used to
- compile lyx as lyx-1.1 and avoid clashes with earlier/later
- versions. Default is "lyx".
-
+ o --with-lyx-suffix=STRING adds the given suffix to the names of the
+ LyX binary and scripts, and the library directory. For example,
+ "--with-lyx-suffix=1.1.6" would install a binary "lyx-1.1.6", and
+ create a directory "/usr/share/lyx-1.1.6", install "reLyX-1.1.6" etc.
+ Additionally, LyX will look for the user configuration file in e.g.
+ "$HOME/.lyx-1.1.6". This feature is useful for installing more than
+ one version of LyX on the same machine.
There are also flags to control the internationalization support in
LyX:
AC_CANONICAL_SYSTEM
AC_VALIDATE_CACHE_SYSTEM_TYPE
-AC_ARG_WITH(lyxname,
- [ --with-lyxname the name under which lyx will be installed],
- [lyxname=$withval],[lyxname=lyx])
+AC_ARG_WITH(lyx-suffix,
+ [ --with-lyx-suffix install lyx files as lyx-<suffix>],
+ [lyxname="lyx-$withval"
+ program_suffix=-$withval],
+ [lyxname=lyx])
AM_INIT_AUTOMAKE($lyxname, $VERSION)
+2001-01-24 John Levon <moz@compsoc.man.ac.uk>
+
+ * Makefile.am: make configure and configure.cmd installed
+ by hand, to avoid name changes when --with-lyx-suffix
+ is used.
+
+ * configure:
+ * configure.m4: support --with-lyx-suffix for the lyxrc.defaults
+ reLyX and noweb2lyx scripts
+
+ * reLyX/configure.in: support --with-lyx-suffix
+
2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
* ui/default.ui: Add Navigate->Refs
* languages: Add extra_options field. It is used to fix the ~n
problem with Spanish.
-
-
AUTOMAKE_OPTIONS = foreign
DISTCLEANFILES = *.orig *.rej *~ *.bak core textclass.lst packages.lst \
lyxrc.defaults doc/LyXConfig.lyx
-pkgdata_SCRIPTS = configure configure.cmd
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in listerrors
SUBDIRS = reLyX
bin_SCRIPTS = listerrors
IMAGES = images/*.xpm
KBD = kbd/*.kmap kbd/*.cdef
LAYOUT = layouts/*.layout layouts/*.inc
-LYXSCRIPTS = scripts/*
+LYXSCRIPTS = configure configure.cmd scripts/*
TEMPL = templates/*.lyx
TEXSUPPORT = tex/*.cls
UI = ui/*.ui
lyx_check_config=yes
lyx_keep_temps=no
srcdir=
+lyx_suffix=
#### Parse the command line
for ac_option do
--help show this help lines
--keep-temps keep temporary files (for debug. purposes)
--without-latex-config do not run LaTeX to determine configuration
+ --with-lyx-suffix=suffix suffix of binary installed files
EOF
exit 0;;
--without-latex-config)
lyx_check_config=no ;;
--keep-temps)
lyx_keep_temps=yes ;;
+ --with-lyx-suffix*)
+ lyx_suffix=`echo "$ac_option" | sed 's,--with-lyx-suffix=,,;s,^,-,'`
esac
done
PATH=${save_PATH}
test $tex_to_lyx_command = "reLyX" && tex_to_lyx_command="reLyX -f \$\$i"
+tex_to_lyx_command=`echo $tex_to_lyx_command | sed "s,reLyX,reLyX$lyx_suffix,"`
echo $ac_n "checking for a Noweb -> LyX converter""... $ac_c"
echo "$ac_t""(noweb2lyx)"
fi
test $literate_to_lyx_command = "noweb2lyx" && literate_to_lyx_command="noweb2lyx \$\$i \$\$o"
+literate_to_lyx_command=`echo $literate_to_lyx_command | sed "s,noweb2lyx,noweb2lyx$lyx_suffix,"`
# Search something to process a literate document
echo $ac_n "checking for a Noweb -> LaTeX converter""... $ac_c"
lyx_check_config=yes
lyx_keep_temps=no
srcdir=
+lyx_suffix=
#### Parse the command line
for ac_option do
--help show this help lines
--keep-temps keep temporary files (for debug. purposes)
--without-latex-config do not run LaTeX to determine configuration
+ --with-lyx-suffix=suffix suffix of binary installed files
EOF
exit 0;;
--without-latex-config)
lyx_check_config=no ;;
--keep-temps)
lyx_keep_temps=yes ;;
+ --with-lyx-suffix*)
+ lyx_suffix=`echo "$ac_option" | sed 's,--with-lyx-suffix=,,;s,^,-,'`
esac
done
SEARCH_PROG([for a LaTeX -> LyX converter],tex_to_lyx_command,reLyX)
PATH=${save_PATH}
test $tex_to_lyx_command = "reLyX" && tex_to_lyx_command="reLyX -f \$\$i"
+tex_to_lyx_command=`echo $tex_to_lyx_command | sed "s,reLyX,reLyX$lyx_suffix,"`
SEARCH_PROG([for a Noweb -> LyX converter],literate_to_lyx_command,noweb2lyx)
test $literate_to_lyx_command = "noweb2lyx" && literate_to_lyx_command="noweb2lyx \$\$i \$\$o"
+literate_to_lyx_command=`echo $literate_to_lyx_command | sed "s,noweb2lyx,noweb2lyx$lyx_suffix,"`
# Search something to process a literate document
SEARCH_PROG([for a Noweb -> LaTeX converter],literate_to_tex_command,noweave)
dnl PACKAGE=reLyX
dnl Do this to install in $datadir/lyx/reLyX instead of $datadir/reLyX/reLyX
-AC_ARG_WITH(lyxname,
- [ --with-lyxname the name under which lyx will be installed],
- [lyxname=$withval],[lyxname=lyx])
+AC_ARG_WITH(lyx-suffix,
+ [ --with-lyx-suffix install lyx files as lyx-<suffix>],
+ [lyxname="lyx-$withval"
+ program_suffix=-$withval],
+ [lyxname=lyx])
dnl must make a macro that gets the reLyX version
VERSION=2.0
src/CutAndPaste.C
src/debug.C
src/exporter.C
+src/ext_l10n.h
src/filedlg.C
src/FontLoader.C
src/form1.C
src/frontends/gnome/Menubar_pimpl.C
src/frontends/kde/citationdlg.C
src/frontends/kde/dlg/copyrightdlgdata.C
+src/frontends/kde/dlg/docdlgdata.C
+src/frontends/kde/dlg/docextradlgdata.C
+src/frontends/kde/dlg/docgeometrydlgdata.C
+src/frontends/kde/dlg/doclanguagedlgdata.C
+src/frontends/kde/dlg/docsettingsdlgdata.C
src/frontends/kde/dlg/indexdlgdata.C
+src/frontends/kde/dlg/lengthentry.C
src/frontends/kde/dlg/paraabovedlgdata.C
src/frontends/kde/dlg/parabelowdlgdata.C
src/frontends/kde/dlg/paradlgdata.C
src/frontends/kde/dlg/parageneraldlgdata.C
src/frontends/kde/dlg/printdlgdata.C
src/frontends/kde/dlg/tabcreatedlgdata.C
+src/frontends/kde/docdlg.C
src/frontends/kde/FormCitation.C
src/frontends/kde/FormCopyright.C
+src/frontends/kde/FormDocument.C
src/frontends/kde/FormIndex.C
src/frontends/kde/FormParagraph.C
src/frontends/kde/FormPrint.C
src/frontends/kde/parageneraldlg.C
src/frontends/kde/printdlg.C
src/frontends/kde/refdlg.C
+src/frontends/kde/tabcreatedlg.C
src/frontends/kde/tocdlg.C
src/frontends/kde/urldlg.C
src/frontends/xforms/FormBase.h
src/insets/insetmarginal.C
src/insets/insetminipage.C
src/insets/insetparent.C
+src/insets/insetref.C
src/insets/insettabular.C
src/insets/insettext.C
src/insets/insettheorem.C
src/tabular.C
src/text2.C
src/text.C
-src/ext_l10n.h
+2001-01-24 John Levon <moz@compsoc.man.ac.uk>
+
+ * lyx_main.C: tiny error message fix
+
2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
// Warn the user if we couldn't find "chkconfig.ltx"
if (system_lyxdir == "./") {
- lyxerr <<_("LyX Warning! Couldn't determine system directory.")
- <<_("Try the '-sysdir' command line parameter or")
+ lyxerr <<_("LyX Warning! Couldn't determine system directory. ")
+ <<_("Try the '-sysdir' command line parameter or ")
<<_("set the environment variable LYX_DIR_11x to the "
- "LyX system directory")
+ "LyX system directory ")
<< _("containing the file `chkconfig.ltx'.") << endl;
if (!path_shown)
lyxerr << _("Using built-in default ")