From 2fb8a39399c56b9cc1f351f78218a27601057887 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 11 Mar 2002 12:41:02 +0000 Subject: [PATCH] workaround from Kayvan for listerrors installation git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3706 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 4 ++++ lib/Makefile.am | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index d3f993296c..8ae84a3dd5 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2002-03-05 Kayvan A. Sylvan + + * Makefile.am: Fix bug with installing an empty listerrors. + 2002-03-08 Angus Leeming * ui/default.ui: add a toggle-tooltips item to the Help menu. diff --git a/lib/Makefile.am b/lib/Makefile.am index 80baca4d54..666aa92617 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -3,7 +3,6 @@ DISTCLEANFILES = *.orig *.rej *~ *.bak core textclass.lst packages.lst \ lyxrc.defaults doc/LyXConfig.lyx MAINTAINERCLEANFILES = $(srcdir)/Makefile.in listerrors SUBDIRS = reLyX -bin_SCRIPTS = listerrors M4=m4 CHMOD=chmod @@ -57,11 +56,14 @@ install-data-local: libinstalldirs $(INSTALL_DATA) ${srcdir}/$$i $(DESTDIR)$(pkgdatadir)/$$i ; \ done -install-exec-local: libinstalldirs +install-exec-local: libinstalldirs listerrors files=`cd ${srcdir} ; echo $(LYXSCRIPTS)` ; \ for i in $${files} ; do \ $(INSTALL_SCRIPT) ${srcdir}/$$i $(DESTDIR)$(pkgdatadir)/$$i ; \ done + if [ -s listerrors ]; then \ + $(INSTALL_SCRIPT) listerrors $(DESTDIR)$(bindir)/listerrors; \ + fi uninstall-local: @$(NORMAL_UNINSTALL) -- 2.39.5