]> git.lyx.org Git - lyx.git/blobdiff - lib/Makefile.am
* lib/configure.py: change "MS Word (HTML)" to "HTML (MS Word)" as suggested by H...
[lyx.git] / lib / Makefile.am
index 92551f0bf7089c062a46f63c26997f99997daae0..d0dd27b2f81bf530ecbb62ccc3f2d01de67fe0a5 100644 (file)
@@ -1,21 +1,37 @@
 include $(top_srcdir)/config/common.am
 
-DISTCLEANFILES += texput.log textclass.lst packages.lst lyxrc.defaults
+SUBDIRS = doc lyx2lyx
 
-SUBDIRS = doc reLyX
+CHMOD = chmod
 
-EXTRA_DIST = \
-       configure.m4 \
-       chkconfig.ltx
+dist_pkgdata_DATA = CREDITS chkconfig.ltx \
+              external_templates encodings languages symbols syntax.default
 
-CHMOD = chmod
+# Note that we "chmod 755" manually this file in install-data-hook.
+dist_pkgdata_PYTHON = configure.py 
 
-# 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 \
-              lyxrc.defaults textclass.lst packages.lst external_templates \
-              encodings languages symbols
+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 = \
@@ -51,15 +67,34 @@ dist_examples_DATA = \
        examples/aas_sample.lyx \
        examples/amsart-test.lyx \
        examples/amsbook-test.lyx \
+       examples/beamer-icsi-logo.pdf \
+       examples/beamer-knight1-mask.png \
+       examples/beamer-knight1.png \
+       examples/beamer-knight2-mask.png \
+       examples/beamer-knight2.png \
+       examples/beamer-knight3-mask.png \
+       examples/beamer-knight3.png \
+       examples/beamer-knight4-mask.png \
+       examples/beamer-knight4.png \
+       examples/beamerlyxexample1.lyx \
        examples/ca_splash.lyx \
        examples/chess-article.lyx \
        examples/chessgame.lyx \
+       examples/cs_splash.lyx \
        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 \
@@ -81,6 +116,9 @@ dist_examples_DATA = \
        examples/fr_mathed.lyx \
        examples/fr_multicol.lyx \
        examples/fr_splash.lyx \
+       examples/gl_exemplo_bruto.lyx \
+       examples/gl_exemplo_lyxificado.lyx \
+       examples/gl_splash.lyx \
        examples/he_example_raw.lyx \
        examples/he_he_example_lyxified.lyx \
        examples/he_he_example_raw.lyx \
@@ -91,7 +129,6 @@ dist_examples_DATA = \
        examples/it_ItemizeBullets.lyx \
        examples/it_splash.lyx \
        examples/landslide.lyx \
-       examples/linuxdoc_manpage.lyx \
        examples/listerrors.lyx \
        examples/mathed.lyx \
        examples/multicol.lyx \
@@ -114,6 +151,8 @@ dist_examples_DATA = \
 
 imagesdir = $(pkgdatadir)/images
 dist_images_DATA = \
+       images/all-changes-accept.xpm \
+       images/all-changes-reject.xpm \
        images/amssymb.xpm \
        images/banner.ppm \
        images/bookmark-goto.xpm \
@@ -133,6 +172,12 @@ dist_images_DATA = \
        images/buffer-write-as.xpm \
        images/buffer-write.xpm \
        images/build-program.xpm \
+       images/change-accept.xpm \
+       images/change-next.xpm \
+       images/change-reject.xpm \
+       images/changes-merge.xpm \
+       images/changes-output.xpm \
+       images/changes-track.xpm \
        images/copy.xpm \
        images/cut.xpm \
        images/depth-decrement.xpm \
@@ -160,6 +205,7 @@ dist_images_DATA = \
        images/footnote-insert.xpm \
        images/index-insert.xpm \
        images/label-insert.xpm \
+       images/layout.xpm \
        images/layout-document.xpm \
        images/layout-paragraph.xpm \
        images/layout_Description.xpm \
@@ -177,7 +223,9 @@ dist_images_DATA = \
        images/math-mode.xpm \
        images/math-subscript.xpm \
        images/math-superscript.xpm \
+       images/nomencl-insert.xpm \
        images/note-insert.xpm \
+       images/note-next.xpm \
        images/paste.xpm \
        images/psnfss1.xpm \
        images/psnfss2.xpm \
@@ -215,11 +263,22 @@ dist_images_DATA = \
 
 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/Im.xpm \
        images/math/Lleftarrow.xpm \
+       images/math/Rrightarrow.xpm \
        images/math/Lsh.xpm \
        images/math/Re.xpm \
        images/math/Rsh.xpm \
@@ -323,6 +382,8 @@ dist_imagesmath_DATA = \
        images/math/doteq.xpm \
        images/math/doteqdot.xpm \
        images/math/dotplus.xpm \
+       images/math/dotsint.xpm \
+       images/math/dotsintop.xpm \
        images/math/doublebarwedge.xpm \
        images/math/downarrow.xpm \
        images/math/downarrow2.xpm \
@@ -370,12 +431,20 @@ dist_imagesmath_DATA = \
        images/math/heartsuit.xpm \
        images/math/hookleftarrow.xpm \
        images/math/hookrightarrow.xpm \
+       images/math/hphantom.xpm \
        images/math/hslash.xpm \
+       images/math/iiiint.xpm \
+       images/math/iiiintop.xpm \
+       images/math/iiint.xpm \
+       images/math/iiintop.xpm \
+       images/math/iint.xpm \
+       images/math/iintop.xpm \
        images/math/imath.xpm \
        images/math/in.xpm \
        images/math/infty.xpm \
        images/math/int.xpm \
        images/math/intercal.xpm \
+       images/math/intop.xpm \
        images/math/iota.xpm \
        images/math/jmath.xpm \
        images/math/kappa.xpm \
@@ -499,7 +568,14 @@ dist_imagesmath_DATA = \
        images/math/nvdash3.xpm \
        images/math/nwarrow.xpm \
        images/math/odot.xpm \
+       images/math/oiint.xpm \
+       images/math/oiintop.xpm \
        images/math/oint.xpm \
+       images/math/ointclockwise.xpm \
+       images/math/ointclockwiseop.xpm \
+       images/math/ointctrclockwise.xpm \
+       images/math/ointctrclockwiseop.xpm \
+       images/math/ointop.xpm \
        images/math/omega.xpm \
        images/math/omega2.xpm \
        images/math/ominus.xpm \
@@ -511,9 +587,11 @@ dist_imagesmath_DATA = \
        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/phantom.xpm \
        images/math/phi.xpm \
        images/math/phi2.xpm \
        images/math/pi.xpm \
@@ -570,6 +648,10 @@ dist_imagesmath_DATA = \
        images/math/sphericalangle.xpm \
        images/math/sqcap.xpm \
        images/math/sqcup.xpm \
+       images/math/sqiint.xpm \
+       images/math/sqiintop.xpm \
+       images/math/sqint.xpm \
+       images/math/sqintop.xpm \
        images/math/sqrt.xpm \
        images/math/sqsubset.xpm \
        images/math/sqsubseteq.xpm \
@@ -626,6 +708,7 @@ dist_imagesmath_DATA = \
        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 \
@@ -659,6 +742,7 @@ dist_imagesmath_DATA = \
        images/math/vec.xpm \
        images/math/vee.xpm \
        images/math/veebar.xpm \
+       images/math/vphantom.xpm \
        images/math/wedge.xpm \
        images/math/widehat.xpm \
        images/math/widetilde.xpm \
@@ -740,7 +824,9 @@ dist_layouts_DATA =\
        layouts/amsmaths-seq.inc \
        layouts/amsmaths.inc \
        layouts/apa.layout \
+       layouts/arab-article.layout \
        layouts/article.layout \
+       layouts/beamer.layout \
        layouts/book.layout \
        layouts/broadway.layout \
        layouts/chess.layout \
@@ -775,12 +861,12 @@ dist_layouts_DATA =\
        layouts/heb-article.layout \
        layouts/heb-letter.layout \
        layouts/hollywood.layout \
+       layouts/ijmpc.layout \
        layouts/ijmpd.layout \
        layouts/jgrga.layout \
        layouts/kluwer.layout \
        layouts/latex8.layout \
        layouts/letter.layout \
-       layouts/linuxdoc.layout \
        layouts/literate-article.layout \
        layouts/literate-book.layout \
        layouts/literate-report.layout \
@@ -833,37 +919,17 @@ dist_layouts_DATA =\
        layouts/g-brief2.layout \
        layouts/svglobal.layout
 
-lyx2lyxdir = $(pkgdatadir)/lyx2lyx
-# We cannot use dist_lyx2lyx_SCRIPTS for lyx2lyx, 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_lyx2lyx_DATA = \
-       lyx2lyx/lyx2lyx \
-       lyx2lyx/parser_tools.py \
-       lyx2lyx/LyX.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 \
-       lyx2lyx/profiling.py
-
 scriptsdir = $(pkgdatadir)/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/convertDefault.sh \
+# Note that we "chmod 755" manually these files in install-data-hook.
+dist_scripts_PYTHON = \
+       scripts/TeXFiles.py \
+       scripts/clean_dvi.py \
+       scripts/convertDefault.py \
        scripts/fen2ascii.py \
-       scripts/fig2pdftex.sh \
-       scripts/fig2pstex.sh \
-       scripts/fig_copy.sh \
+       scripts/fig2pdftex.py \
+       scripts/fig2pstex.py \
+       scripts/fig_copy.py \
+       scripts/layout2layout.py \
        scripts/legacy_lyxpreview2ppm.py \
        scripts/listerrors \
        scripts/lyxpreview2bitmap.py \
@@ -886,10 +952,10 @@ dist_templates_DATA = \
        templates/koma-letter2.lyx \
        templates/latex8.lyx \
        templates/letter.lyx \
-       templates/linuxdoc_article.lyx \
        templates/revtex.lyx \
        templates/revtex4.lyx \
        templates/slides.lyx \
+       templates/ijmpc.lyx \
        templates/ijmpd.lyx \
        templates/agu_article.lyx
 
@@ -906,43 +972,11 @@ uidir = $(pkgdatadir)/ui
 dist_ui_DATA = \
        ui/classic.ui \
        ui/default.ui \
-       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
+       ui/stdmenus.inc \
+       ui/stdtoolbars.inc
 
 install-data-hook:
-       $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/lyx2lyx/lyx2lyx
-       $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/configure
-       for i in $(dist_scripts_DATA); do \
+       $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/configure.py
+       for i in $(dist_scripts_PYTHON); do \
                $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/$$i; \
        done