]> git.lyx.org Git - lyx.git/blobdiff - lib/Makefile.am
Add language and encoding information
[lyx.git] / lib / Makefile.am
index 17aa1f285a753f1b341ab220fc577d65d7031a03..53c42639d91368c9ac1ddf3431c50cb023cc762f 100644 (file)
@@ -2,17 +2,14 @@ include $(top_srcdir)/config/common.am
 
 SUBDIRS = doc lyx2lyx
 
-EXTRA_DIST = \
-       chkconfig.ltx
-
 CHMOD = chmod
 
-# 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.py \
+dist_pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx \
               external_templates encodings languages symbols syntax.default
 
+# Note that we "chmod 755" manually this file in install-data-hook.
+dist_pkgdata_PYTHON = configure.py 
+
 dist_noinst_DATA = \
        images/README \
        images/font-smallcaps.xpm \
@@ -814,6 +811,7 @@ 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 \
@@ -873,17 +871,15 @@ dist_layouts_DATA =\
        layouts/svglobal.layout
 
 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 \
+# Note that we "chmod 755" manually these files in install-data-hook.
+dist_scripts_PYTHON = \
+       scripts/TeXFiles.py \
        scripts/clean_dvi.py \
-       scripts/convertDefault.sh \
+       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 \
@@ -911,6 +907,7 @@ dist_templates_DATA = \
        templates/revtex.lyx \
        templates/revtex4.lyx \
        templates/slides.lyx \
+       templates/ijmpc.lyx \
        templates/ijmpd.lyx \
        templates/agu_article.lyx
 
@@ -932,6 +929,6 @@ dist_ui_DATA = \
 
 install-data-hook:
        $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/configure.py
-       for i in $(dist_scripts_DATA); do \
+       for i in $(dist_scripts_PYTHON); do \
                $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/$$i; \
        done