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
|
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
|
|
|
|
2001-09-02 11:40:33 +00:00
|
|
|
M4=m4
|
|
|
|
CHMOD=chmod
|
|
|
|
|
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
|
2001-11-04 07:29:40 +00:00
|
|
|
EXAMPLES = examples/*.lyx examples/*.fen
|
2001-10-10 16:45:05 +00:00
|
|
|
HELP = help/*.hlp
|
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
|
2001-01-24 13:52:04 +00:00
|
|
|
LYXSCRIPTS = configure configure.cmd scripts/*
|
1999-09-27 18:44:28 +00:00
|
|
|
TEMPL = templates/*.lyx
|
2001-10-31 15:19:49 +00:00
|
|
|
TEXSUPPORT = tex/*.cls tex/*.sty
|
2000-07-24 13:53:19 +00:00
|
|
|
UI = ui/*.ui
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2001-09-02 11:40:33 +00:00
|
|
|
configure: configure.m4
|
|
|
|
$(M4) $< > $@
|
|
|
|
$(CHMOD) 755 $@
|
|
|
|
|
2001-10-10 16:45:05 +00:00
|
|
|
LIBINSTFILES = $(BIND) $(CLIPART) $(DOCINST) $(EXAMPLES) $(HELP) $(IMAGES) \
|
|
|
|
$(KBD) $(LAYOUT) $(TEMPL) $(TEXSUPPORT) $(UI)
|
1999-10-14 00:51:48 +00:00
|
|
|
|
2001-10-10 16:45:05 +00:00
|
|
|
LIBDISTFILES = $(BIND) $(CLIPART) $(DOCDIST) $(EXAMPLES) $(HELP) $(IMAGES) \
|
|
|
|
$(KBD) $(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 \
|
2001-09-02 13:35:31 +00:00
|
|
|
encodings languages symbols
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2001-10-10 16:45:05 +00:00
|
|
|
LYXLIBDIRS = bind clipart doc examples help images kbd layouts scripts \
|
2000-07-24 13:53:19 +00:00
|
|
|
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 \
|
2002-01-17 17:16:19 +00:00
|
|
|
encodings languages symbols configure.m4
|
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
|
|
|
|
|
2001-02-02 16:48:59 +00:00
|
|
|
install-exec-local: libinstalldirs
|
|
|
|
files=`cd ${srcdir} ; echo $(LYXSCRIPTS)` ; \
|
|
|
|
for i in $${files} ; do \
|
|
|
|
$(INSTALL_SCRIPT) ${srcdir}/$$i $(DESTDIR)$(pkgdatadir)/$$i ; \
|
|
|
|
done
|
|
|
|
|
2000-06-12 11:27:15 +00:00
|
|
|
uninstall-local:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2001-03-01 15:03:52 +00:00
|
|
|
files=`cd ${srcdir} ; echo $(LIBINSTFILES) $(LYXSCRIPTS)` ; \
|
2000-06-12 11:27:15 +00:00
|
|
|
for i in $${files} ; do \
|
|
|
|
rm -f $(pkgdatadir)/$$i ; \
|
2001-03-01 15:03:52 +00:00
|
|
|
done ; \
|
|
|
|
dirs=`cd ${srcdir} ; echo $(LYXLIBDIRS)` ; \
|
|
|
|
for i in $${dirs} ; do \
|
|
|
|
rm -rf $(pkgdatadir)/$$i ; \
|
2000-06-12 11:27:15 +00:00
|
|
|
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\*` ; \
|
2001-10-30 17:05:57 +00:00
|
|
|
rm -rf doc/.cvsignore; \
|
2001-07-24 23:41:49 +00:00
|
|
|
[ -f doc/UserGuide.lyx ] || { cvs -Q export -r HEAD -d doc lyxdoc || \
|
2000-01-08 21:02:58 +00:00
|
|
|
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}
|