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-06-12 11:27:15 +00:00
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
1999-09-27 18:44:28 +00:00
|
|
|
SUBDIRS = reLyX
|
|
|
|
|
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*
|
1999-10-14 00:51:48 +00:00
|
|
|
DOCINST = doc/*
|
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
|
2000-06-12 11:27:15 +00:00
|
|
|
LYXSCRIPTS = scripts/*
|
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) \
|
2000-06-12 11:27:15 +00:00
|
|
|
$(LAYOUT) $(TEMPL) $(TEXSUPPORT) $(LYXSCRIPTS)
|
1999-10-14 00:51:48 +00:00
|
|
|
|
|
|
|
LIBDISTFILES = $(BIND) $(CLIPART) $(DOCDIST) $(EXAMPLES) $(IMAGES) $(KBD) \
|
2000-06-12 11:27:15 +00:00
|
|
|
$(LAYOUT) $(TEMPL) $(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-06-12 11:27:15 +00:00
|
|
|
textclass.lst packages.lst external_templates
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2000-06-12 11:27:15 +00:00
|
|
|
LYXLIBDIRS = bind clipart doc examples images kbd layouts scripts 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 \
|
2000-06-12 11:27:15 +00:00
|
|
|
external_templates $(LYXLIBDIRS)
|
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
|
|
|
|