]> git.lyx.org Git - lyx.git/blobdiff - lib/Makefile.am
Add language and encoding information
[lyx.git] / lib / Makefile.am
index 741819ea825ce1a5d98532b4feb16fa896c93bc5..53c42639d91368c9ac1ddf3431c50cb023cc762f 100644 (file)
@@ -1,20 +1,14 @@
 include $(top_srcdir)/config/common.am
 
-DISTCLEANFILES += texput.log textclass.lst packages.lst lyxrc.defaults
-
 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 \
-              lyxrc.defaults textclass.lst packages.lst external_templates \
-              encodings languages symbols syntax.default
+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 \
@@ -551,6 +545,7 @@ dist_imagesmath_DATA = \
        images/math/overleftrightarrow.xpm \
        images/math/overline.xpm \
        images/math/overrightarrow.xpm \
+       images/math/overset.xpm \
        images/math/parallel.xpm \
        images/math/partial.xpm \
        images/math/perp.xpm \
@@ -666,6 +661,7 @@ dist_imagesmath_DATA = \
        images/math/underline.xpm \
        images/math/underrightarrow.xpm \
        images/math/underscore.xpm \
+       images/math/underset.xpm \
        images/math/uparrow.xpm \
        images/math/uparrow2.xpm \
        images/math/updownarrow.xpm \
@@ -815,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 \
@@ -874,16 +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 \
-       scripts/convertDefault.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.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
 
@@ -930,11 +927,8 @@ dist_ui_DATA = \
        ui/stdmenus.ui \
        ui/stdtoolbars.ui
 
-lyxrc.defaults: $(srcdir)/configure.py
-       python $<
-
 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