]> git.lyx.org Git - features.git/commitdiff
John's --with-version-suffix
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 5 Mar 2001 11:54:00 +0000 (11:54 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 5 Mar 2001 11:54:00 +0000 (11:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1670 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
INSTALL
config/lyxinclude.m4
lib/ChangeLog
lib/reLyX/configure.in

index cf81ac6897edcd97fa1eb13ecaa2f2cc73cef51d..5508171f38bebeed0034a36aabe1a8c335b3eacd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
+
+       * configure.in:
+       * config/lyxinclude.m4:
+       * INSTALL: minor changes, become --with-version-suffix
+
 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
 
        * configure.in:
diff --git a/INSTALL b/INSTALL
index f35652d7015fe4069e1843c32d44b1dd90371a31..ac82469ffea2d65c235ff2b160998fbf332ef155 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -122,14 +122,14 @@ flags:
        --with-extra-lib=DIRECTORY/lib --with-extra-inc=DIRECTORY/include
     If DIRECTORY is not specified, the current prefix is used.
 
-  o --with-lyx-version will install LyX as lyx-<version>, e.g. lyx-1.1.6
-    The LyX data directory will be something like <whatever>/lyx-1.1.6/.
+  o --with-version-suffix will install LyX as lyx-<version>, e.g. lyx-1.2.0
+    The LyX data directory will be something like <whatever>/lyx-1.2.0/.
     Additionally your user configuration files will be found in e.g.
-    $HOME/.lyx-1.1.6
+    $HOME/.lyx-1.2.0
 
     You can use this feature to install more than one version of LyX on
     the same system. You can optionally specify a "version" of your own,
-    by doing something like : ./configure --with-lyx-version=latestcvs
+    by doing something like : ./configure --with-version-suffix=-latestcvs
  
 There are also flags to control the internationalization support in
 LyX:
index bc792fc782012bf088539cddb579240068e79bd8..1f70b9c75783ee98f8a7622e7bef469f646daf03 100644 (file)
@@ -37,15 +37,15 @@ dnl
 dnl
 AC_DEFUN(LYX_VERSION_SUFFIX,[ 
 AC_MSG_CHECKING([for install target ... ])
-AC_ARG_WITH(lyx-version,
-  [  --with-lyx-version[=<version>]  install lyx files as lyx-<suffix>],
+AC_ARG_WITH(version-suffix,
+  [  --with-version-suffix[=<version>]  install lyx files as lyx<version>],
   [if test "x$withval" = "xyes";
    then
-     withval="$VERSION"
-     ac_configure_args=`echo $ac_configure_args | sed "s,--with-lyx-version,--with-lyx-version=$withval,"`
+     withval="-$VERSION"
+     ac_configure_args=`echo $ac_configure_args | sed "s,--with-version-suffix,--with-version-suffix=$withval,"`
    fi
-   lyxname="lyx-$withval"
-   program_suffix=-$withval],
+   lyxname="lyx$withval"
+   program_suffix=$withval],
   [lyxname=lyx])
 AC_MSG_RESULT([$lyxname])
 ])
index 0d5f94f6fde3aa554028601d9e3ae6cb4b190025..50f1c3069ccf49e287a8540dbb90a6416de398b8 100644 (file)
@@ -1,3 +1,7 @@
+2001-03-02  John Levon  <moz@compsoc.man.ac.uk>
+
+       * reLyX/configure.in: become --with-version-suffix
+
 2001-03-05  Adrien Rebollo  <Adrien.Rebollo@wanadoo.fr>
 
        * examples/fr_*: renamed french example files in french.
index d773415aa7bd3ef83c28b9beb899b86c95181706..eac77d53e80e655cfbbeac0dfb38de95cd9b5d2c 100644 (file)
@@ -6,10 +6,10 @@ AC_CONFIG_AUX_DIR(../../config)
 dnl PACKAGE=reLyX
 dnl Do this to install in $datadir/lyx/reLyX instead of $datadir/reLyX/reLyX
 
-AC_ARG_WITH(lyx-version,
-  [  --with-lyx-version[=<version>]  install lyx files as lyx-<version>],
-  [lyxname="lyx-$withval"
-   program_suffix=-$withval],
+AC_ARG_WITH(version-suffix,
+  [  --with-version-suffix[=<version>]  install lyx files as lyx<version>],
+  [lyxname="lyx$withval"
+   program_suffix=$withval],
   [lyxname=lyx])
 
 dnl must make a macro that gets the reLyX version