]> git.lyx.org Git - lyx.git/blobdiff - lib/Makefile.am
Add language and encoding information
[lyx.git] / lib / Makefile.am
index 510eae7574d4078008bd74bc27494b2ce2654e2e..53c42639d91368c9ac1ddf3431c50cb023cc762f 100644 (file)
@@ -1,20 +1,37 @@
 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 \
+       images/font-smallcaps.xpm \
+       images/math/ams_arrows.xbm \
+       images/math/ams_misc.xbm \
+       images/math/ams_nrel.xbm \
+       images/math/ams_ops.xbm \
+       images/math/ams_rel.xbm \
+       images/math/arrows.xbm \
+       images/math/bop.xbm \
+       images/math/brel.xbm \
+       images/math/deco.xbm \
+       images/math/deco.xpm \
+       images/math/delim0.xpm \
+       images/math/delim1.xpm \
+       images/math/delim.xbm \
+       images/math/dots.xbm \
+       images/math/font.xbm \
+       images/math/frac-square.xpm \
+       images/math/greek.xbm \
+       images/math/misc.xbm \
+       images/math/varsz.xbm
 
 binddir = $(pkgdatadir)/bind
 dist_bind_DATA = \
@@ -222,6 +239,16 @@ dist_images_DATA = \
 
 imagesmathdir = $(imagesdir)/math
 dist_imagesmath_DATA = \
+       images/math/style.xbm \
+       images/math/font.xpm \
+       images/math/delim.xpm \
+       images/math/equation.xpm \
+       images/math/matrix.xpm \
+       images/math/space.xpm \
+       images/math/sqrt-square.xpm \
+       images/math/style.xpm \
+       images/math/sub.xpm \
+       images/math/super.xpm \
        images/math/Bbbk.xpm \
        images/math/Finv.xpm \
        images/math/Game.xpm \
@@ -518,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 \
@@ -633,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 \
@@ -782,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 \
@@ -841,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 \
@@ -878,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
 
@@ -897,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