On Fri, Feb 02, 2001 at 01:44:52PM +0000, John Levon wrote:
> On Fri, 2 Feb 2001 [EMAIL PROTECTED] wrote:
>
> > The configure script for relyx needs to be installed with +x. Out of
> > the box, it is installed as a data file, 644.
>
> This is my fault. On my system it installed these files as +x so I didn't
> notice the problem.
>
> However, this patch is wrong as it breaks --with-lyx-suffix again - these
> script names should not be transformed. We need to change the permissions
> in the install hook.
>
> Sorry all, and damn install !
Ok, how about the attached?
--
albert chin ([EMAIL PROTECTED])
-- snip snip
--- lib/Makefile.am.orig Fri Feb 2 07:05:07 2001
+++ lib/Makefile.am Fri Feb 2 07:58:37 2001
@@ -19,7 +19,7 @@
UI = ui/*.ui
LIBINSTFILES = $(BIND) $(CLIPART) $(DOCINST) $(EXAMPLES) $(IMAGES) $(KBD) \
- $(LAYOUT) $(TEMPL) $(TEXSUPPORT) $(UI) $(LYXSCRIPTS)
+ $(LAYOUT) $(TEMPL) $(TEXSUPPORT) $(UI)
LIBDISTFILES = $(BIND) $(CLIPART) $(DOCDIST) $(EXAMPLES) $(IMAGES) $(KBD) \
$(LAYOUT) $(TEMPL) $(UI) $(TEXSUPPORT) $(LYXSCRIPTS)
@@ -44,6 +44,12 @@
files=`cd ${srcdir} ; echo $(LIBINSTFILES)` ; \
for i in $${files} ; do \
$(INSTALL_DATA) ${srcdir}/$$i $(DESTDIR)$(pkgdatadir)/$$i ; \
+ done
+
+install-exec-local: libinstalldirs
+ files=`cd ${srcdir} ; echo $(LYXSCRIPTS)` ; \
+ for i in $${files} ; do \
+ $(INSTALL_SCRIPT) ${srcdir}/$$i $(DESTDIR)$(pkgdatadir)/$$i ; \
done
uninstall-local: