]> git.lyx.org Git - features.git/blobdiff - lib/Makefile.am
Cmake export tests: Enable unsafe dvipdfmx
[features.git] / lib / Makefile.am
index 038b33c7526d19b3e1d5fc33433a511cddcf4f6c..7db272891c9cbb822674e90400ff98d60082d67a 100644 (file)
@@ -300,6 +300,10 @@ dist_ruinsetexamples_DATA = \
        examples/ru/Graphics_and_Insets/xyfigure.png \
        examples/ru/Graphics_and_Insets/XY-Pic.lyx
 
+rumoduleexamplesdir = $(pkgdatadir)/examples/ru/Modules
+dist_rumoduleexamples_DATA = \
+       examples/ru/Modules/Fancy_Colored_Boxes.lyx
+
 rupresentationexamplesdir = $(pkgdatadir)/examples/ru/Presentations
 dist_rupresentationexamples_DATA = \
        examples/ru/Presentations/Beamer.lyx \
@@ -2868,20 +2872,26 @@ dist_xtemplates_DATA = \
 dist_scripts_DATA += scripts/docbook2epub.py
 
 #2) xslt processor - Saxon 6.5.5
-dist_scripts_DATA += \
+SAXON_FILES = \
        scripts/saxon6.LICENSE.txt \
        scripts/saxon6.5.5.jar
 
+if SAXON_INSTALL
+dist_scripts_DATA += $(SAXON_FILES)
+else
+dist_noinst_DATA += $(SAXON_FILES)
+endif
+
 #3) xslt Stylesheets 1.79.2
 docbookdir = $(pkgdatadir)/docbook
-dist_docbook_DATA = \
+docbook_FILES = \
        docbook/COPYING \
        docbook/source.txt \
        docbook/VERSION \
        docbook/VERSION.xsl
 
 docbookcommondir = $(pkgdatadir)/docbook/common
-dist_docbookcommon_DATA = \
+docbookcommon_FILES = \
        docbook/common/addns.xsl \
        docbook/common/af.xml \
        docbook/common/am.xml \
@@ -2986,7 +2996,7 @@ dist_docbookcommon_DATA = \
        docbook/common/zh.xml
 
 docbookepub3dir = $(pkgdatadir)/docbook/epub3
-dist_docbookepub3_DATA = \
+docbookepub3_FILES = \
        docbook/epub3/build.xml \
        docbook/epub3/chunkfast.xsl \
        docbook/epub3/chunk.xsl \
@@ -3001,12 +3011,12 @@ dist_docbookepub3_DATA = \
        docbook/epub3/titlepage.templates.xsl
 
 docbooklibdir = $(pkgdatadir)/docbook/lib
-dist_docbooklib_DATA = \
+docbooklib_FILES = \
        docbook/lib/build.xml \
        docbook/lib/lib.xsl
 
 docbookxhtml5dir = $(pkgdatadir)/docbook/xhtml5
-dist_docbookxhtml5_DATA = \
+docbookxhtml5_FILES = \
        docbook/xhtml5/build.xml \
        docbook/xhtml5/chunkfast.xsl \
        docbook/xhtml5/chunk.xsl \
@@ -3023,7 +3033,7 @@ dist_docbookxhtml5_DATA = \
        docbook/xhtml5/xhtml-profile-docbook.xsl
 
 docbookxhtmldir = $(pkgdatadir)/docbook/xhtml
-dist_docbookxhtml_DATA = \
+docbookxhtml_FILES = \
        docbook/xhtml/admon.xsl \
        docbook/xhtml/annotations.xsl \
        docbook/xhtml/autoidx-kimber.xsl \
@@ -3089,6 +3099,22 @@ dist_docbookxhtml_DATA = \
        docbook/xhtml/verbatim.xsl \
        docbook/xhtml/xref.xsl
 
+if XSLT_SHEETS_INSTALL
+dist_docbook_DATA = $(docbook_FILES)
+dist_docbookcommon_DATA = $(docbookcommon_FILES)
+dist_docbookepub3_DATA = $(docbookepub3_FILES)
+dist_docbooklib_DATA = $(docbooklib_FILES)
+dist_docbookxhtml5_DATA = $(docbookxhtml5_FILES)
+dist_docbookxhtml_DATA = $(docbookxhtml_FILES)
+else
+dist_noinst_DATA += $(docbook_FILES)
+dist_noinst_DATA += $(docbookcommon_FILES)
+dist_noinst_DATA += $(docbookepub3_FILES)
+dist_noinst_DATA += $(docbooklib_FILES)
+dist_noinst_DATA += $(docbookxhtml5_FILES)
+dist_noinst_DATA += $(docbookxhtml_FILES)
+endif
+
 
 if INSTALL_POSIX
 # install application icons. The 'hicolor' theme is the default theme