]> git.lyx.org Git - lyx.git/blobdiff - lib/Makefile.am
update aastex documentation; remove Mike Ressler's address
[lyx.git] / lib / Makefile.am
index 2fd14be7d0ce58766929d8e8abbaa29f144ed911..5bd5e1c23067d0aa9a2472b52501da13ee5a2d1c 100644 (file)
@@ -10,12 +10,13 @@ EXTRA_DIST = \
 
 CHMOD = chmod
 
-dist_pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx lyxrc.defaults \
-              textclass.lst packages.lst external_templates \
+# 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 \
+              lyxrc.defaults textclass.lst packages.lst external_templates \
               encodings languages symbols
 
-dist_pkgdata_SCRIPTS = configure configure.cmd
-
 binddir = $(pkgdatadir)/bind
 dist_bind_DATA = \
        bind/broadway.bind \
@@ -27,6 +28,7 @@ dist_bind_DATA = \
        bind/greekkeys.bind \
        bind/hollywood.bind \
        bind/latinkeys.bind \
+       bind/mac.bind \
        bind/math.bind \
        bind/menus.bind \
        bind/pt_menus.bind \
@@ -598,8 +600,8 @@ dist_imagesmath_DATA = \
        images/math/surd.xpm \
        images/math/swarrow.xpm \
        images/math/tau.xpm \
-       images/math/textrm_0.xpm \
-       images/math/textrm_A.xpm \
+       images/math/textrm_Oe.xpm \
+       images/math/textrm_AA.xpm \
        images/math/therefore.xpm \
        images/math/theta.xpm \
        images/math/theta2.xpm \
@@ -746,6 +748,8 @@ dist_layouts_DATA =\
        layouts/cv.layout \
        layouts/db_lyxmacros.inc \
        layouts/db_stdclass.inc \
+       layouts/db_stdcharstyles.inc \
+       layouts/db_stdcounters.inc \
        layouts/db_stdlayouts.inc \
        layouts/db_stdlists.inc \
        layouts/db_stdsections.inc \
@@ -832,7 +836,9 @@ dist_layouts_DATA =\
        layouts/svglobal.layout
 
 lyx2lyxdir = $(pkgdatadir)/lyx2lyx
-dist_lyx2lyx_SCRIPTS = lyx2lyx/lyx2lyx
+# We cannot use dist_lyx2lyx_SCRIPTS for lyx2lyx, 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_lyx2lyx_DATA = \
        lyx2lyx/lyx2lyx \
        lyx2lyx/parser_tools.py \
@@ -850,7 +856,10 @@ dist_lyx2lyx_DATA = \
        lyx2lyx/profiling.py
 
 scriptsdir = $(pkgdatadir)/scripts
-dist_scripts_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 \
        scripts/fen2ascii.py \
@@ -858,7 +867,8 @@ dist_scripts_SCRIPTS = \
        scripts/fig2pstex.sh \
        scripts/listerrors \
        scripts/legacy_lyxpreview2ppm.py \
-       scripts/lyxpreview2bitmap.py
+       scripts/lyxpreview2bitmap.py \
+       scripts/tex_copy.py
 
 templatesdir = $(pkgdatadir)/templates
 dist_templates_DATA = \
@@ -929,3 +939,10 @@ install-data-local: install-xfonts
 
 
 uninstall-local: uninstall-xfonts
+
+install-data-hook:
+       $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/lyx2lyx/lyx2lyx
+       $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/configure
+       for i in $(dist_scripts_DATA); do \
+               $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/$$i; \
+       done