]> git.lyx.org Git - lyx.git/blobdiff - lib/Makefile.am
jss.layout: correct appearance of sectioning commands
[lyx.git] / lib / Makefile.am
index 68bbd9cb11202883b632e3db5d19056cfa2d1c4c..c79596f1489738b1c13bd81280d3333710b672b9 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.
@@ -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