Hi,

I just fetched lyx-1.1.5fix2.tar.gz and compiled/installed it on our
ix86 linux systems. All worked fine, almost without any problems.

In order to configure with --disable-nls and to get all files installed
(in the right place?) and to avoid an error message during "make install"
I had to apply the enclosed small patch (should be self explanatory).

NB: the lib/Makefile.am patch certainly is a kludge, that should be done
better. And I am not really sure whether or not the lib/doc/TOC_top/*.lyx
should be installed in a directory /usr/local/share/lyx/doc/TOC_top ?

best regards
Peter Breitenlohner <[EMAIL PROTECTED]>
diff -ur lyx-1.1.5fix2.orig/lib/Makefile.am lyx-1.1.5fix2/lib/Makefile.am
--- lyx-1.1.5fix2.orig/lib/Makefile.am  Mon Mar 27 17:34:41 2000
+++ lyx-1.1.5fix2/lib/Makefile.am       Wed Nov  8 18:16:38 2000
@@ -8,7 +8,7 @@
 BIND = bind/*.bind
 CLIPART = clipart/*.eps
 DOCDIST = doc/LaTeXConfig.lyx*
-DOCINST = doc/*
+DOCINST = doc/* doc/TOC_top/*
 EXAMPLES = examples/*.lyx
 IMAGES = images/*.xpm images/*.xbm
 KBD = kbd/*.kmap kbd/*.cdef
@@ -25,7 +25,7 @@
 pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx lyxrc.defaults \
                textclass.lst packages.lst
 
-LYXLIBDIRS = bind clipart doc examples images kbd layouts templates tex
+LYXLIBDIRS = bind clipart doc/TOC_top examples images kbd layouts templates tex
 
 EXTRA_DIST = CREDITS chkconfig.ltx configure.cmd lyxrc.example \
        $(LYXLIBDIRS)
@@ -38,7 +38,7 @@
 install-data-local: libinstalldirs
        files=`cd ${srcdir} ; echo $(LIBINSTFILES)` ; \
        for i in $${files} ; do \
-          $(INSTALL_DATA) ${srcdir}/$$i $(DESTDIR)$(pkgdatadir)/$$i ; \
+          [ "$$i" == doc/TOC_top ] || $(INSTALL_DATA) ${srcdir}/$$i 
+$(DESTDIR)$(pkgdatadir)/$$i ; \
        done
 
 dist-hook:
diff -ur lyx-1.1.5fix2.orig/src/gettext.h lyx-1.1.5fix2/src/gettext.h
--- lyx-1.1.5fix2.orig/src/gettext.h    Mon Sep 27 20:44:37 1999
+++ lyx-1.1.5fix2/src/gettext.h Wed Nov  8 17:08:41 2000
@@ -56,6 +56,9 @@
 #  define _(str) (str)
 #  define N_(str) (str)
 #  define locale_init()
+#  ifdef HAVE_LOCALE_H
+#    include <locale.h>                // for LC_NUMERIC
+#  endif
 #  define gettext_init()
 #endif
 

Reply via email to