include $(top_srcdir)/config/common.am
-DISTCLEANFILES += textclass.lst packages.lst lyxrc.defaults
-
-SUBDIRS = doc reLyX
+SUBDIRS = doc lyx2lyx
EXTRA_DIST = \
- configure.m4 \
chkconfig.ltx
CHMOD = chmod
-dist_pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx lyxrc.defaults \
- textclass.lst packages.lst external_templates \
- encodings languages symbols
+# We cannot use dist_pkgdata_SCRIPTS for configure, since a possible
+# version-suffix would get appended to the names. So we use dist_pkgdata_DATA
+# and chmod manually in install-data-hook.
+dist_pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx configure.py \
+ external_templates encodings languages symbols syntax.default
-dist_pkgdata_SCRIPTS = configure configure.cmd
+dist_noinst_DATA = \
+ images/README \
+ images/font-smallcaps.xpm \
+ images/math/ams_arrows.xbm \
+ images/math/ams_misc.xbm \
+ images/math/ams_nrel.xbm \
+ images/math/ams_ops.xbm \
+ images/math/ams_rel.xbm \
+ images/math/arrows.xbm \
+ images/math/bop.xbm \
+ images/math/brel.xbm \
+ images/math/deco.xbm \
+ images/math/deco.xpm \
+ images/math/delim0.xpm \
+ images/math/delim1.xpm \
+ images/math/delim.xbm \
+ images/math/dots.xbm \
+ images/math/font.xbm \
+ images/math/frac-square.xpm \
+ images/math/greek.xbm \
+ images/math/misc.xbm \
+ images/math/varsz.xbm
binddir = $(pkgdatadir)/bind
dist_bind_DATA = \
bind/greekkeys.bind \
bind/hollywood.bind \
bind/latinkeys.bind \
+ bind/mac.bind \
bind/math.bind \
bind/menus.bind \
bind/pt_menus.bind \
examples/currency.lyx \
examples/cv.lyx \
examples/da_splash.lyx \
+ examples/de_ItemizeBullets.lyx \
+ examples/de_Lebenslauf.lyx \
+ examples/de_Minipage.lyx \
+ examples/de_TableExamples.lyx \
+ examples/de_Waehrungen.lyx \
examples/de_beispiel_gelyxt.lyx \
examples/de_beispiel_roh.lyx \
+ examples/de_decimal.lyx \
examples/de_splash.lyx \
+ examples/de_mathed.lyx \
+ examples/de_multicol.lyx \
examples/decimal.lyx \
examples/docbook_article.lyx \
examples/es_ejemplo_con_lyx.lyx \
imagesmathdir = $(imagesdir)/math
dist_imagesmath_DATA = \
+ images/math/style.xbm \
+ images/math/font.xpm \
+ images/math/delim.xpm \
+ images/math/equation.xpm \
+ images/math/matrix.xpm \
+ images/math/space.xpm \
+ images/math/sqrt-square.xpm \
+ images/math/style.xpm \
+ images/math/sub.xpm \
+ images/math/super.xpm \
images/math/Bbbk.xpm \
images/math/Finv.xpm \
images/math/Game.xpm \
images/math/overleftrightarrow.xpm \
images/math/overline.xpm \
images/math/overrightarrow.xpm \
+ images/math/overset.xpm \
images/math/parallel.xpm \
images/math/partial.xpm \
images/math/perp.xpm \
images/math/surd.xpm \
images/math/swarrow.xpm \
images/math/tau.xpm \
- images/math/textrm_0.xpm \
- images/math/textrm_A.xpm \
+ images/math/textrm_Oe.xpm \
+ images/math/textrm_AA.xpm \
images/math/therefore.xpm \
images/math/theta.xpm \
images/math/theta2.xpm \
images/math/underline.xpm \
images/math/underrightarrow.xpm \
images/math/underscore.xpm \
+ images/math/underset.xpm \
images/math/uparrow.xpm \
images/math/uparrow2.xpm \
images/math/updownarrow.xpm \
layouts/cv.layout \
layouts/db_lyxmacros.inc \
layouts/db_stdclass.inc \
+ layouts/db_stdcharstyles.inc \
+ layouts/db_stdcounters.inc \
layouts/db_stdlayouts.inc \
layouts/db_stdlists.inc \
layouts/db_stdsections.inc \
layouts/heb-article.layout \
layouts/heb-letter.layout \
layouts/hollywood.layout \
+ layouts/ijmpc.layout \
layouts/ijmpd.layout \
layouts/jgrga.layout \
layouts/kluwer.layout \
layouts/mwart.layout \
layouts/mwbk.layout \
layouts/mwrep.layout \
- layouts/obsolete.inc \
layouts/paper.layout \
layouts/report.layout \
layouts/revtex.layout \
layouts/scrclass.inc \
layouts/scrlettr.layout \
layouts/scrlttr2.layout \
- layouts/scrmacros.inc \
layouts/scrreprt.layout \
layouts/seminar.layout \
layouts/siamltex.layout \
layouts/g-brief2.layout \
layouts/svglobal.layout
-lyx2lyxdir = $(pkgdatadir)/lyx2lyx
-dist_lyx2lyx_SCRIPTS = lyx2lyx/lyx2lyx
-dist_lyx2lyx_DATA = \
- lyx2lyx/lyx2lyx \
- lyx2lyx/parser_tools.py \
- lyx2lyx/lyx_0_12.py \
- lyx2lyx/lyx_1_0_0.py \
- lyx2lyx/lyx_1_0_1.py \
- lyx2lyx/lyx_1_1_4.py \
- lyx2lyx/lyx_1_1_5.py \
- lyx2lyx/lyx_1_1_6.py \
- lyx2lyx/lyx_1_1_6fix3.py \
- lyx2lyx/lyx_1_2.py \
- lyx2lyx/lyx_1_3.py \
- lyx2lyx/lyx_1_4.py
-
scriptsdir = $(pkgdatadir)/scripts
-dist_scripts_SCRIPTS = \
+# We cannot use dist_scripts_SCRIPTS, since a possible version-suffix would
+# get appended to the names. So we use dist_scripts_DATA and chmod manually
+# in install-data-hook.
+dist_scripts_DATA = \
scripts/TeXFiles.sh \
+ scripts/clean_dvi.py \
scripts/convertDefault.sh \
scripts/fen2ascii.py \
scripts/fig2pdftex.sh \
scripts/fig2pstex.sh \
- scripts/listerrors \
+ scripts/fig_copy.sh \
+ scripts/layout2layout.py \
scripts/legacy_lyxpreview2ppm.py \
- scripts/lyxpreview2bitmap.py
+ scripts/listerrors \
+ scripts/lyxpreview2bitmap.py \
+ scripts/lyxpreview_tools.py \
+ scripts/tex_copy.py
templatesdir = $(pkgdatadir)/templates
dist_templates_DATA = \
templates/revtex.lyx \
templates/revtex4.lyx \
templates/slides.lyx \
+ templates/ijmpc.lyx \
templates/ijmpd.lyx \
templates/agu_article.lyx
ui/stdmenus.ui \
ui/stdtoolbars.ui
-$(srcdir)/configure: $(srcdir)/configure.m4
- $(M4) $< > $@
- $(CHMOD) 755 $@
-
-lyxrc.defaults: $(srcdir)/configure
- $(SHELL) $<
-
-install-xfonts:
- test -f xfonts/fonts.dir || exit 0 ; \
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/xfonts ; \
- files=`sed -e 's/^[0-9]*$$//' -e 's/^\([^ ]*\) .*$$/\1/' xfonts/fonts.dir` ; \
- for i in $${files} ; do \
- ln -f -s `kpsewhich $$i` $(DESTDIR)$(pkgdatadir)/xfonts/$$i ; \
- done ; \
- $(INSTALL_DATA) xfonts/fonts.dir $(DESTDIR)$(pkgdatadir)/xfonts/fonts.dir ; \
- $(INSTALL_DATA) xfonts/fonts.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale ; \
- if test -f xfonts/PSres.upr ; then \
- $(INSTALL_DATA) xfonts/PSres.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr ; \
- fi
-
-uninstall-xfonts:
- rm -rf $(DESTDIR)$(pkgdatadir)/xfonts
-
-distclean-local:
- rm -rf xfonts
-
-install-data-local: install-xfonts
-
-
-uninstall-local: uninstall-xfonts
+install-data-hook:
+ $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/configure.py
+ for i in $(dist_scripts_DATA); do \
+ $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/$$i; \
+ done