X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2FMakefile.am;h=c79596f1489738b1c13bd81280d3333710b672b9;hb=9c06bd09eac71d12325c9b5bc32eec014ae7db2b;hp=5a680378eab49bc4ea81da611749a2bbb59ea1a4;hpb=ea2c5f377d7a6f8063b6a7b17fe801e410a9a3ae;p=lyx.git diff --git a/lib/Makefile.am b/lib/Makefile.am index 5a680378ea..c79596f148 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -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. @@ -89,7 +89,7 @@ dist_deexamples_DATA = \ examples/de/Braille.lyx \ examples/de/Dezimal.lyx \ examples/de/europassCV.lyx \ - examples/de/Feynman-Diagramme \ + examples/de/FeynmanDiagrams.lyx \ examples/de/ItemizeBullets.lyx \ examples/de/Lebenslauf.lyx \ examples/de/linguistics.lyx \ @@ -328,6 +328,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 \ @@ -440,6 +441,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 \ @@ -2088,6 +2090,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 \ @@ -2305,11 +2308,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