]> git.lyx.org Git - lyx.git/blobdiff - lib/Makefile.am
Update a format
[lyx.git] / lib / Makefile.am
index eb2ee4dd0ed13cbe24cb464a9acb589a3c174e63..63ebfba16ab9e5d9f072ac64489ab41089e5a9a8 100644 (file)
@@ -7,12 +7,12 @@ 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.
-dist_pkgdata_DATA += configure.py 
+dist_pkgdata_DATA += configure.py
 
 dist_noinst_DATA = \
        appdata.xml \
@@ -88,9 +88,13 @@ 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/PDF-comment.lyx \
        examples/de/serienbrief1.lyx \
        examples/de/serienbrief2.lyx \
        examples/de/serienbrief3.lyx \
@@ -135,6 +139,8 @@ dist_frexamples_DATA = \
        examples/fr/Foils.lyx \
        examples/fr/linguistics.lyx \
        examples/fr/ListesPuces.lyx \
+       examples/fr/MultilingualCaptions.lyx \
+       examples/fr/PDF-comment.lyx \
        examples/fr/seminar.lyx \
        examples/fr/simplecv.lyx \
        examples/fr/splash.lyx \
@@ -255,7 +261,7 @@ dist_springerexamples_DATA = \
        examples/springer/svmult_part.lyx \
        examples/springer/svmult_preface.lyx \
        examples/springer/svmult_referenc.lyx
-       
+
 thesisexamplesdir = $(pkgdatadir)/examples/thesis
 dist_thesisexamples_DATA = \
        examples/thesis/Acknowledgments.lyx \
@@ -303,11 +309,14 @@ dist_examples_DATA = \
        examples/biblioExample.bib \
        examples/chess-article.lyx \
        examples/chessgame.lyx \
+       examples/colored-boxes.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 \
@@ -323,6 +332,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 \
@@ -340,6 +350,7 @@ dist_examples_DATA = \
        examples/sweave.lyx \
        examples/tufte-book.lyx \
        examples/tufte-handout.lyx \
+       examples/varwidth-floats-side-by-side.lyx \
        examples/xyfigure.lyx \
        examples/xyfigure.png \
        examples/xypic.lyx
@@ -364,7 +375,6 @@ imagesdir = $(pkgdatadir)/images
 dist_images_DATA1X = \
        images/all-changes-accept.png \
        images/all-changes-reject.png \
-       images/amssymb.png \
        images/banner.png \
        images/bookmark-goto.png \
        images/bookmark-goto_0.png \
@@ -418,7 +428,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 +446,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 \
@@ -450,6 +460,7 @@ dist_images_DATA1X = \
        images/href-insert.png \
        images/hidetab.png \
        images/index-insert.png \
+       images/info-insert.png \
        images/info-insert_buffer_vcs-revision.png \
        images/label-insert.png \
        images/layout.png \
@@ -484,20 +495,23 @@ 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/psnfss1.png \
-       images/psnfss2.png \
-       images/psnfss3.png \
-       images/psnfss4.png \
        images/redo.png \
        images/reload.png \
        images/script-insert_subscript.png \
        images/script-insert_superscript.png \
+       images/specialchar-insert_latex.png \
+       images/specialchar-insert_latex2e.png \
+       images/specialchar-insert_lyx.png \
+       images/specialchar-insert_menu-separator.png \
+       images/specialchar-insert_tex.png \
        images/spelling-continuously.png \
        images/view-split_horizontal.png \
        images/view-split_vertical.png \
-       images/standard.png \
        images/tabular-feature_align-decimal.png \
        images/tabular-feature_append-column.png \
        images/tabular-feature_append-row.png \
@@ -547,6 +561,9 @@ dist_images_DATA1X = \
        images/vc-revert.png \
        images/view-others.png
 
+dist_images_DATA3X = \
+       ${dist_images_DATA1X:%.png=%.svgz}
+
 # possible shortcut for complete set of 2x sized icons
 #dist_images_DATA2X = \
 #      ${dist_images_DATA1X:%.png=%@2x.png}
@@ -555,11 +572,18 @@ dist_images_DATA2X = \
        images/banner@2x.png
 
 dist_images_DATA = \
+       images/amssymb.png \
+       images/psnfss1.png \
+       images/psnfss2.png \
+       images/psnfss3.png \
+       images/psnfss4.png \
+       images/standard.png \
        ${dist_images_DATA1X} \
-       ${dist_images_DATA2X}
+       ${dist_images_DATA2X} \
+       ${dist_images_DATA3X}
 
 imagesmathdir = $(imagesdir)/math
-dist_imagesmath_DATA = \
+dist_imagesmath_DATA1X = \
        images/math/AC.png \
        images/math/acute.png \
        images/math/adots.png \
@@ -641,6 +665,7 @@ dist_imagesmath_DATA = \
        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 \
@@ -976,12 +1001,15 @@ dist_imagesmath_DATA = \
        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 \
@@ -989,12 +1017,18 @@ dist_imagesmath_DATA = \
        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 \
@@ -1262,6 +1296,7 @@ dist_imagesmath_DATA = \
        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 \
@@ -1407,8 +1442,15 @@ dist_imagesmath_DATA = \
        images/math/Yup.png \
        images/math/zeta.png
 
+dist_imagesmath_DATA2X = \
+       ${dist_imagesmath_DATA1X:%.png=%.svgz}
+
+dist_imagesmath_DATA = \
+       ${dist_imagesmath_DATA1X} \
+       ${dist_imagesmath_DATA2X}
+
 imagesipadir = $(imagesdir)/ipa
-dist_imagesipa_DATA = \
+dist_imagesipa_DATA1X = \
        images/ipa/ipamacro-insert_deco_bottomtiebar.png \
        images/ipa/ipamacro-insert_deco_toptiebar.png \
        images/ipa/ipamacro-insert_tone-falling.png \
@@ -1584,9 +1626,16 @@ dist_imagesipa_DATA = \
        images/ipa/unicode-insert_0xa71b.png \
        images/ipa/unicode-insert_0xa71c.png
 
+dist_imagesipa_DATA2X = \
+       ${dist_imagesipa_DATA1X:%.png=%.svgz}
+
+dist_imagesipa_DATA = \
+       ${dist_imagesipa_DATA1X} \
+       ${dist_imagesipa_DATA2X}
+
 
 imagesoxygendir = $(imagesdir)/oxygen
-dist_imagesoxygen_DATA = \
+dist_imagesoxygen_DATA1X = \
        images/oxygen/all-changes-accept.png \
        images/oxygen/all-changes-reject.png \
        images/oxygen/bookmark-goto.png \
@@ -1645,7 +1694,6 @@ dist_imagesoxygen_DATA = \
        images/oxygen/font-emph.png \
        images/oxygen/font-noun.png \
        images/oxygen/footnote-insert.png \
-       images/oxygen/iconsize.png \
        images/oxygen/href-insert.png \
        images/oxygen/index-insert.png \
        images/oxygen/label-insert.png \
@@ -1682,6 +1730,25 @@ dist_imagesoxygen_DATA = \
        images/oxygen/vc-revert.png \
        images/oxygen/view-others.png
 
+dist_imagesoxygen_DATA2X = \
+       ${dist_imagesoxygen_DATA1X:%.png=%.svgz}
+
+dist_imagesoxygen_DATA = \
+       images/oxygen/iconsize.png \
+       ${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  \
@@ -1736,7 +1803,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  \
@@ -1800,8 +1866,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  \
@@ -1855,7 +1924,7 @@ dist_imagesclassic_DATA = \
        images/classic/view-others.png
 
 imagescommandsdir = $(imagesdir)/commands
-dist_imagescommands_DATA = 
+dist_imagescommands_DATA =
 
 kbddir = $(pkgdatadir)/kbd
 dist_kbd_DATA = \
@@ -1937,6 +2006,7 @@ dist_layouts_DATA =\
        layouts/book.layout \
        layouts/braille.module \
        layouts/broadway.layout \
+       layouts/changebars.module \
        layouts/chess.layout \
        layouts/cl2emult.layout \
        layouts/ctex-article.layout \
@@ -1968,6 +2038,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 \
@@ -1982,10 +2053,12 @@ dist_layouts_DATA =\
        layouts/frletter.layout \
        layouts/g-brief.layout \
        layouts/g-brief2.layout \
+       layouts/graphicboxes.module \
        layouts/hanging.module \
        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 \
@@ -1994,6 +2067,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 \
@@ -2029,7 +2103,9 @@ dist_layouts_DATA =\
        layouts/numreport.inc \
        layouts/numrevtex.inc \
        layouts/paper.layout \
+       layouts/paralist.module \
        layouts/pdfcomment.module \
+       layouts/pdfform.module \
        layouts/powerdot.layout \
        layouts/RJournal.layout \
        layouts/recipebook.layout \
@@ -2111,7 +2187,8 @@ dist_layouts_DATA =\
        layouts/todonotes.module \
        layouts/treport.layout \
        layouts/tufte-book.layout \
-       layouts/tufte-handout.layout
+       layouts/tufte-handout.layout \
+       layouts/varwidth.module
 
 scriptsdir = $(pkgdatadir)/scripts
 dist_scripts_DATA = \
@@ -2123,6 +2200,7 @@ dist_scripts_DATA = \
 # Note that we "chmod 755" manually these files in install-data-hook.
 dist_scripts_DATA += \
        scripts/clean_dvi.py \
+       scripts/convert_pdf.py \
        scripts/convertDefault.py \
        scripts/csv2lyx.py \
        scripts/date.py \
@@ -2178,6 +2256,8 @@ 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 \
        templates/kluwer.lyx \
@@ -2240,16 +2320,57 @@ lyx@program_suffix@.desktop: lyx.desktop-temp
 desktopdir = $(datadir)/applications
 desktop_DATA = lyx@program_suffix@.desktop
 
-CLEANFILES += lyx@program_suffix@.desktop lyx.desktop-temp \
-              lyx@program_suffix@.svg lyx@program_suffix@.png
+CLEANFILES = lyx@program_suffix@.desktop lyx.desktop-temp \
+             lyx@program_suffix@.svg lyx@program_suffix@.png
 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