Current CVS won't install reLyX because variable DESTDIR is
not defined. The following small and dirty fix works, but
someone out there must know a better way.
Note also, make install in lib/reLyX does not call
libinstalldirs: or install-data-local:, so they aren't
needed.
Angus
Index: lib/reLyX/Makefile.am
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/reLyX/Makefile.am,v
retrieving revision 1.4
diff -p -u -r1.4 Makefile.am
--- lib/reLyX/Makefile.am 2000/03/27 15:34:41 1.4
+++ lib/reLyX/Makefile.am 2000/03/30 10:36:24
@@ -1,3 +1,4 @@
+DESTDIR = /usr/local/share/lyx/
AUTOMAKE_OPTIONS = foreign
DISTCLEANFILES= *.orig *.rej *~ *.bak reLyX reLyX.1
MAINTAINERCLEANFILES = Makefile.in
@@ -15,14 +16,3 @@ LIBINSTFILES = *.pm *.pl README BUGS CHA
reLyX.1:
cp -p $(srcdir)/reLyX.man reLyX.1
-
-libinstalldirs:
- for dir in $(LYXDATADIRS) ; do \
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$dir ; \
- done
-
-install-data-local: libinstalldirs
- files=`cd ${srcdir} ; echo $(LIBINSTFILES)` ; \
- for i in $${files} ; do \
- $(INSTALL_DATA) ${srcdir}/$$i $(DESTDIR)$(pkgdatadir)/reLyX/$$i ; \
- done