]> git.lyx.org Git - lyx.git/blobdiff - lib/Makefile.am
Properly account for font size when generating previews
[lyx.git] / lib / Makefile.am
index d41e9233f8a6a021736cad09aedff4e640c3c7e0..fa7ef539d9ba2e3e41e7c383cfab333c7ce280b4 100644 (file)
@@ -7,8 +7,8 @@ CHMOD = chmod
 EXTRA_DIST = examples/CMakeLists.txt scripts/CMakeLists.txt
 
 dist_pkgdata_DATA = CREDITS autocorrect chkconfig.ltx external_templates \
-       encodings layouttranslations languages latexfonts symbols syntax.default \
-       unicodesymbols
+       encodings layouttranslations languages latexfonts RELEASE-NOTES \
+       symbols syntax.default unicodesymbols
 
 # We use DATA now instead of PYTHON because automake 1.11.2 complains.
 # Note that we "chmod 755" manually this file in install-data-hook.
@@ -88,9 +88,12 @@ dist_deexamples_DATA = \
        examples/de/beispiel_roh.lyx \
        examples/de/Braille.lyx \
        examples/de/Dezimal.lyx \
+       examples/de/europassCV.lyx \
+       examples/de/FeynmanDiagrams.lyx \
        examples/de/ItemizeBullets.lyx \
        examples/de/Lebenslauf.lyx \
        examples/de/linguistics.lyx \
+       examples/de/MultilingualCaptions.lyx \
        examples/de/serienbrief1.lyx \
        examples/de/serienbrief2.lyx \
        examples/de/serienbrief3.lyx \
@@ -306,9 +309,11 @@ dist_examples_DATA = \
        examples/chessgame.lyx \
        examples/docbook_article.lyx \
        examples/europeCV.lyx \
+       examples/europassCV.lyx \
        examples/example_lyxified.lyx \
        examples/example_raw.lyx \
        examples/FeynmanDiagrams.lyx \
+       examples/H-P-statements.lyx \
        examples/iecc05.fen \
        examples/iecc07.fen \
        examples/iecc12.fen \
@@ -324,6 +329,7 @@ dist_examples_DATA = \
        examples/MultilingualCaptions.lyx \
        examples/noweb2lyx.lyx \
        examples/PDF-comment.lyx \
+       examples/PDF-form.lyx \
        examples/powerdot-example.lyx \
        examples/recipebook.lyx \
        examples/R-S-statements.lyx \
@@ -418,7 +424,6 @@ dist_images_DATA1X = \
        images/tab-group-close.png \
        images/copy.png \
        images/cut.png \
-       images/demote.png \
        images/depth-decrement.png \
        images/depth-increment.png \
        images/dialog-preferences.png \
@@ -437,6 +442,7 @@ dist_images_DATA1X = \
        images/dialog-toggle_toc.png \
        images/down.png \
        images/editclear.png \
+       images/emblem-readonly.png \
        images/ert-insert.png \
        images/file-open.png \
        images/float-insert_figure.png \
@@ -484,8 +490,11 @@ dist_images_DATA1X = \
        images/nomencl-insert.png \
        images/note-insert.png \
        images/note-next.png \
+       images/outline-down.png \
+       images/outline-in.png \
+       images/outline-out.png \
+       images/outline-up.png \
        images/paste.png \
-       images/promote.png \
        images/redo.png \
        images/reload.png \
        images/script-insert_subscript.png \
@@ -646,6 +655,7 @@ dist_imagesmath_DATA1X = \
        images/math/blacktriangledown.png \
        images/math/blacktriangleleft.png \
        images/math/blacktriangleright.png \
+       images/math/boldsymbol.png \
        images/math/bot.png \
        images/math/bowtie.png \
        images/math/bowtie2.png \
@@ -981,12 +991,15 @@ dist_imagesmath_DATA1X = \
        images/math/mapstochar.png \
        images/math/mapstochar2.png \
        images/math/mars.png \
+       images/math/mathbb.png \
        images/math/mathbb_C.png \
        images/math/mathbb_H.png \
        images/math/mathbb_N.png \
        images/math/mathbb_Q.png \
        images/math/mathbb_R.png \
        images/math/mathbb_Z.png \
+       images/math/mathbf.png \
+       images/math/mathcal.png \
        images/math/mathcal_F.png \
        images/math/mathcal_H.png \
        images/math/mathcal_L.png \
@@ -994,12 +1007,18 @@ dist_imagesmath_DATA1X = \
        images/math/mathcircumflex.png \
        images/math/mathclap.png \
        images/math/mathdollar.png \
+       images/math/mathfrak.png \
+       images/math/mathit.png \
        images/math/mathllap.png \
        images/math/mathparagraph.png \
+       images/math/mathscr.png \
        images/math/mathsection.png \
        images/math/mathring.png \
        images/math/mathrlap.png \
+       images/math/mathrm.png \
        images/math/mathrm_T.png \
+       images/math/mathsf.png \
+       images/math/mathtt.png \
        images/math/matrix.png \
        images/math/measuredangle.png \
        images/math/mercury.png \
@@ -1267,6 +1286,7 @@ dist_imagesmath_DATA1X = \
        images/math/theta.png \
        images/math/theta2.png \
        images/math/textdegree.png \
+       images/math/textrm.png \
        images/math/thickapprox.png \
        images/math/thicksim.png \
        images/math/thorn.png \
@@ -1708,6 +1728,17 @@ dist_imagesoxygen_DATA = \
        ${dist_imagesoxygen_DATA1X} \
        ${dist_imagesoxygen_DATA2X}
 
+imagesmathoxygendir = $(imagesdir)/math/oxygen
+dist_imagesmathoxygen_DATA = \
+       images/math/oxygen/cases.svgz \
+       images/math/oxygen/delim.svgz \
+       images/math/oxygen/font.svgz \
+       images/math/oxygen/frac.svgz \
+       images/math/oxygen/frac-square.svgz \
+       images/math/oxygen/functions.svgz \
+       images/math/oxygen/space.svgz \
+       images/math/oxygen/style.svgz
+
 imagesclassicdir = $(imagesdir)/classic
 dist_imagesclassic_DATA = \
        images/classic/all-changes-accept.png  \
@@ -1762,7 +1793,6 @@ dist_imagesclassic_DATA = \
        images/classic/tab-group-close.png  \
        images/classic/copy.png  \
        images/classic/cut.png  \
-       images/classic/demote.png  \
        images/classic/depth-decrement.png  \
        images/classic/depth-increment.png  \
        images/classic/dialog-preferences.png  \
@@ -1826,8 +1856,11 @@ dist_imagesclassic_DATA = \
        images/classic/nomencl-insert.png  \
        images/classic/note-insert.png  \
        images/classic/note-next.png  \
+       images/classic/outline-down.png  \
+       images/classic/outline-in.png  \
+       images/classic/outline-out.png  \
+       images/classic/outline-up.png  \
        images/classic/paste.png  \
-       images/classic/promote.png  \
        images/classic/redo.png  \
        images/classic/reload.png  \
        images/classic/script-insert_subscript.png  \
@@ -1994,6 +2027,7 @@ dist_layouts_DATA =\
        layouts/entcs.layout \
        layouts/enumitem.module \
        layouts/eqs-within-sections.module \
+       layouts/europasscv.layout \
        layouts/europecv.layout \
        layouts/extarticle.layout \
        layouts/extbook.layout \
@@ -2013,6 +2047,7 @@ dist_layouts_DATA =\
        layouts/heb-article.layout \
        layouts/heb-letter.layout \
        layouts/hollywood.layout \
+       layouts/hpstatement.module \
        layouts/IEEEtran.layout \
        layouts/IEEEtran-CompSoc.layout \
        layouts/IEEEtran-TransMag.layout \
@@ -2021,6 +2056,7 @@ dist_layouts_DATA =\
        layouts/initials.module \
        layouts/iopart.layout \
        layouts/isprs.layout \
+       layouts/iucr.layout \
        layouts/jarticle.layout \
        layouts/jasatex.layout \
        layouts/jbook.layout \
@@ -2057,6 +2093,7 @@ dist_layouts_DATA =\
        layouts/numrevtex.inc \
        layouts/paper.layout \
        layouts/pdfcomment.module \
+       layouts/pdfform.module \
        layouts/powerdot.layout \
        layouts/RJournal.layout \
        layouts/recipebook.layout \
@@ -2206,6 +2243,7 @@ dist_templates_DATA = \
        templates/IJMPC.lyx \
        templates/IJMPD.lyx \
        templates/IOP-article.lyx \
+       templates/IUCr-article.lyx \
        templates/ja_beamer-conference-ornate-20min.lyx \
        templates/JASA.lyx \
        templates/JSS-article.lyx \
@@ -2274,11 +2312,52 @@ CLEANFILES += lyx@program_suffix@.desktop lyx.desktop-temp \
 endif
 dist_noinst_DATA += lyx.desktop.in images/lyx.svg images/lyx.png
 
+exampleandtemplate_files = \
+                          $(dist_caexamples_DATA) \
+                          $(dist_csexamples_DATA) \
+                          $(dist_daexamples_DATA) \
+                          $(dist_deexamples_DATA) \
+                          $(dist_elexamples_DATA) \
+                          $(dist_esexamples_DATA) \
+                          $(dist_euexamples_DATA) \
+                          $(dist_faexamples_DATA) \
+                          $(dist_frexamples_DATA) \
+                          $(dist_glexamples_DATA) \
+                          $(dist_heexamples_DATA) \
+                          $(dist_huexamples_DATA) \
+                          $(dist_idexamples_DATA) \
+                          $(dist_itexamples_DATA) \
+                          $(dist_jaexamples_DATA) \
+                          $(dist_koexamples_DATA) \
+                          $(dist_nlexamples_DATA) \
+                          $(dist_plexamples_DATA) \
+                          $(dist_ptexamples_DATA) \
+                          $(dist_roexamples_DATA) \
+                          $(dist_ruexamples_DATA) \
+                          $(dist_slexamples_DATA) \
+                          $(dist_skexamples_DATA) \
+                          $(dist_srexamples_DATA) \
+                          $(dist_svexamples_DATA) \
+                          $(dist_springerexamples_DATA) \
+                          $(dist_thesisexamples_DATA) \
+                          $(dist_ukexamples_DATA) \
+                          $(dist_examples_DATA) \
+                          $(dist_templates_DATA)
+
 install-data-hook:
        $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/configure.py
        for i in $(DESTDIR)$(scriptsdir)/*.py $(DESTDIR)$(scriptsdir)/listerrors ; do \
                $(CHMOD) 755 $$i; \
        done
+       for i in $(exampleandtemplate_files); do \
+               if $(EGREP) -q "^\\\\origin " "$(DESTDIR)$(pkgdatadir)/$$i"; then \
+                       origin=`dirname "/systemlyxdir/$$i"`/; \
+                       sed -e "s|^\\\\origin .*|\\\\origin $$origin|" \
+                               "$(DESTDIR)$(pkgdatadir)/$$i" > "$(DESTDIR)$(pkgdatadir)/$$i.tmp"; \
+                       mv -f "$(DESTDIR)$(pkgdatadir)/$$i.tmp" "$(DESTDIR)$(pkgdatadir)/$$i"; \
+                       chmod 644 "$(DESTDIR)$(pkgdatadir)/$$i"; \
+               fi; \
+       done
 
 alltests: check alltests-recursive