1999-09-27 18:44:28 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
2000-06-12 11:27:15 +00:00
|
|
|
DISTCLEANFILES = *.orig *.rej *~ *.bak core textclass.lst packages.lst \
|
|
|
|
lyxrc.defaults doc/LyXConfig.lyx
|
1999-10-13 21:01:03 +00:00
|
|
|
pkgdata_SCRIPTS = configure configure.cmd
|
2000-08-14 05:24:35 +00:00
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in listerrors
|
|
|
|
SUBDIRS = reLyX
|
2000-07-12 13:24:24 +00:00
|
|
|
bin_SCRIPTS = listerrors
|
1999-09-27 18:44:28 +00:00
|
|
|
|
1999-10-13 21:01:03 +00:00
|
|
|
BIND = bind/*.bind
|
1999-09-27 18:44:28 +00:00
|
|
|
CLIPART = clipart/*.eps
|
2000-06-12 11:27:15 +00:00
|
|
|
DOCDIST = doc/LyXConfig.lyx*
|
2000-11-10 17:29:47 +00:00
|
|
|
DOCINST = doc/*.lyx doc/*.eps doc/*.lyx.in
|
1999-10-13 21:01:03 +00:00
|
|
|
EXAMPLES = examples/*.lyx
|
2000-07-19 10:22:12 +00:00
|
|
|
IMAGES = images/*.xpm
|
1999-09-27 18:44:28 +00:00
|
|
|
KBD = kbd/*.kmap kbd/*.cdef
|
1999-10-13 21:01:03 +00:00
|
|
|
LAYOUT = layouts/*.layout layouts/*.inc
|
2000-06-12 11:27:15 +00:00
|
|
|
LYXSCRIPTS = scripts/*
|
1999-09-27 18:44:28 +00:00
|
|
|
TEMPL = templates/*.lyx
|
|
|
|
TEXSUPPORT = tex/*.cls
|
2000-07-24 13:53:19 +00:00
|
|
|
UI = ui/*.ui
|
1999-09-27 18:44:28 +00:00
|
|
|
|
1999-10-14 00:51:48 +00:00
|
|
|
LIBINSTFILES = $(BIND) $(CLIPART) $(DOCINST) $(EXAMPLES) $(IMAGES) $(KBD) \
|
2000-07-24 13:53:19 +00:00
|
|
|
$(LAYOUT) $(TEMPL) $(TEXSUPPORT) $(UI) $(LYXSCRIPTS)
|
1999-10-14 00:51:48 +00:00
|
|
|
|
|
|
|
LIBDISTFILES = $(BIND) $(CLIPART) $(DOCDIST) $(EXAMPLES) $(IMAGES) $(KBD) \
|
2000-07-24 13:53:19 +00:00
|
|
|
$(LAYOUT) $(TEMPL) $(UI) $(TEXSUPPORT) $(LYXSCRIPTS)
|
1999-10-14 00:51:48 +00:00
|
|
|
|
1999-10-12 14:08:52 +00:00
|
|
|
pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx lyxrc.defaults \
|
2000-10-10 12:36:36 +00:00
|
|
|
textclass.lst packages.lst external_templates \
|
|
|
|
encodings languages
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2000-07-24 13:53:19 +00:00
|
|
|
LYXLIBDIRS = bind clipart doc examples images kbd layouts scripts \
|
|
|
|
templates tex ui
|
1999-09-27 18:44:28 +00:00
|
|
|
|
1999-10-13 21:01:03 +00:00
|
|
|
EXTRA_DIST = CREDITS chkconfig.ltx configure.cmd lyxrc.example \
|
2000-10-12 01:18:11 +00:00
|
|
|
external_templates $(LYXLIBDIRS) build-listerrors \
|
|
|
|
encodings languages
|
1999-10-14 00:51:48 +00:00
|
|
|
|
|
|
|
libinstalldirs:
|
|
|
|
for dir in $(LYXLIBDIRS) ; do \
|
2000-03-27 15:34:41 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$dir ; \
|
1999-10-14 00:51:48 +00:00
|
|
|
done
|
1999-09-27 18:44:28 +00:00
|
|
|
|
1999-10-14 00:51:48 +00:00
|
|
|
install-data-local: libinstalldirs
|
1999-09-27 18:44:28 +00:00
|
|
|
files=`cd ${srcdir} ; echo $(LIBINSTFILES)` ; \
|
|
|
|
for i in $${files} ; do \
|
2000-03-27 15:34:41 +00:00
|
|
|
$(INSTALL_DATA) ${srcdir}/$$i $(DESTDIR)$(pkgdatadir)/$$i ; \
|
1999-10-13 21:01:03 +00:00
|
|
|
done
|
|
|
|
|
2000-06-12 11:27:15 +00:00
|
|
|
uninstall-local:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
files=`cd ${srcdir} ; echo $(LIBINSTFILES)` ; \
|
|
|
|
for i in $${files} ; do \
|
|
|
|
rm -f $(pkgdatadir)/$$i ; \
|
|
|
|
done
|
|
|
|
|
1999-10-13 21:01:03 +00:00
|
|
|
dist-hook:
|
1999-10-14 00:51:48 +00:00
|
|
|
cd ${distdir} ; rm -rf `find . -name \*CVS\*` ; \
|
|
|
|
rm -rf doc/BUGS.lyx ; \
|
2000-01-08 21:02:58 +00:00
|
|
|
{ cvs -Q export -r HEAD -d doc lyxdoc || \
|
|
|
|
echo "WARNING: Unable to get LyX Documentation from CVS!" ; true ; }
|
2000-06-12 11:27:15 +00:00
|
|
|
|
2000-07-12 13:24:24 +00:00
|
|
|
listerrors: examples/Literate.lyx
|
2000-10-04 03:17:36 +00:00
|
|
|
${srcdir}/build-listerrors ${srcdir}
|