1999-09-27 18:44:28 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
DISTCLEANFILES = *.orig *.rej *~ *.bak textclass.lst packages.lst \
|
|
|
|
lyxrc.defaults doc/LaTeXConfig.lyx
|
1999-10-13 21:01:03 +00:00
|
|
|
pkgdata_SCRIPTS = configure configure.cmd
|
1999-09-27 18:44:28 +00:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
SUBDIRS = reLyX
|
|
|
|
|
1999-10-13 21:01:03 +00:00
|
|
|
BIND = bind/*.bind
|
1999-09-27 18:44:28 +00:00
|
|
|
CLIPART = clipart/*.eps
|
1999-10-14 00:51:48 +00:00
|
|
|
DOCDIST = doc/LaTeXConfig.lyx*
|
2000-11-17 10:32:09 +00:00
|
|
|
DOCINST = doc/*.lyx doc/*.eps doc/*.lyx.in
|
1999-10-13 21:01:03 +00:00
|
|
|
EXAMPLES = examples/*.lyx
|
|
|
|
IMAGES = images/*.xpm images/*.xbm
|
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
|
1999-09-27 18:44:28 +00:00
|
|
|
TEMPL = templates/*.lyx
|
|
|
|
TEXSUPPORT = tex/*.cls
|
|
|
|
|
1999-10-14 00:51:48 +00:00
|
|
|
LIBINSTFILES = $(BIND) $(CLIPART) $(DOCINST) $(EXAMPLES) $(IMAGES) $(KBD) \
|
|
|
|
$(LAYOUT) $(TEMPL) $(TEXSUPPORT)
|
|
|
|
|
|
|
|
LIBDISTFILES = $(BIND) $(CLIPART) $(DOCDIST) $(EXAMPLES) $(IMAGES) $(KBD) \
|
|
|
|
$(LAYOUT) $(TEMPL) $(TEXSUPPORT)
|
|
|
|
|
1999-10-12 14:08:52 +00:00
|
|
|
pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx lyxrc.defaults \
|
|
|
|
textclass.lst packages.lst
|
1999-09-27 18:44:28 +00:00
|
|
|
|
1999-10-14 00:51:48 +00:00
|
|
|
LYXLIBDIRS = bind clipart doc examples images kbd layouts templates tex
|
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 \
|
1999-10-14 00:51:48 +00:00
|
|
|
$(LYXLIBDIRS)
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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 ; }
|