Fix aa artifacts in export and regen all images for doc
[scilab.git] / scilab / modules / helptools / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2008 - INRIA - Sylvestre LEDRU
3 #
4 # This file is distributed under the same license as the Scilab package.
5
6 if GUI
7 if BUILD_HELP
8
9 USEANT=1
10
11 HELPTOOLS_SOURCES = src/jni/BuildDocObject.cpp \
12         src/jni/SciDocMain.cpp
13
14 GATEWAY_C_SOURCES = sci_gateway/c/gw_helptools.c
15
16 GATEWAY_CXX_SOURCES = sci_gateway/cpp/sci_buildDoc.cpp
17
18 GIWS_WRAPPERS = src/jni/BuildDocObject.giws.xml \
19         src/jni/BuildDocObjectv2.giws.xml
20
21 libscihelptools_la_LIBADD = libscihelptools-algo.la \
22                 $(top_builddir)/modules/commons/libscicommons.la
23 libscihelptools_algo_la_SOURCES =  $(HELPTOOLS_SOURCES)
24 libscihelptools_algo_la_CPPFLAGS = $(libscihelptools_la_CPPFLAGS)
25 noinst_LTLIBRARIES = libscihelptools-algo.la
26
27 if GIWS
28 BUILT_SOURCES=giws
29 endif
30
31 else
32 GATEWAY_C_SOURCES = sci_gateway/nogui/nogui.c
33 endif
34
35 else
36 GATEWAY_C_SOURCES = sci_gateway/nogui/nogui.c
37 endif
38
39 pkglib_LTLIBRARIES = libscihelptools.la
40
41 libscihelptools_la_CPPFLAGS= $(JAVA_JNI_INCLUDE) \
42                                 -I$(srcdir)/src/jni/ \
43                                 -I$(srcdir)/includes/ \
44                                 -I$(top_srcdir)/modules/localization/includes/ \
45                                 -I$(top_srcdir)/modules/jvm/includes/ \
46                                 -I$(top_srcdir)/modules/commons/src/jni \
47                                 -I$(top_srcdir)/modules/api_scilab/includes/ \
48                                 -I$(top_srcdir)/modules/output_stream/includes/ \
49                                 $(AM_CPPFLAGS)
50
51
52 libscihelptools_la_SOURCES =  $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES)
53
54
55 # For the code check (splint)
56 CHECK_SRC= $(GATEWAY_C_SOURCES)
57 INCLUDE_FLAGS = $(libscihelptools_la_CFLAGS)
58
59
60 #### Target ######
61 modulename=helptools
62
63 #### helptools : Conf files ####
64 libscihelptools_la_rootdir = $(mydatadir)
65 libscihelptools_la_root_DATA =  license.txt 
66
67 #### helptools : init scripts ####
68 libscihelptools_la_etcdir = $(mydatadir)/etc
69 libscihelptools_la_etc_DATA = etc/helptools.quit etc/helptools.start etc/MAIN_CHAPTERS etc/fopconf.xml etc/SciDocConf.xml
70
71 #### helptools : gateway declaration ####
72 libscihelptools_la_sci_gatewaydir = $(mydatadir)/sci_gateway
73 libscihelptools_la_sci_gateway_DATA = sci_gateway/helptools_gateway.xml
74
75 #### New documentation generation system
76 libscihelptools_la_data_configurationdir = $(mydatadir)/data/configuration
77 libscihelptools_la_data_configuration_DATA = data/configuration/scilab_primitives.txt \
78 data/configuration/scilab_macros.txt
79
80 libscihelptools_la_data_templatedir = $(mydatadir)/data/template
81 libscihelptools_la_data_template_DATA = data/template/template_chm.html \
82 data/template/template_html.html \
83 data/template/template_javahelp.html \
84 data/template/template_web.html
85 libscihelptools_la_data_cssdir = $(mydatadir)/data/css
86 libscihelptools_la_data_css_DATA = data/css/scilab_code.css \
87 data/css/c_code.css \
88 data/css/xml_code.css \
89 data/css/style.css
90
91 libscihelptools_la_xsl_fodir = $(mydatadir)/xsl/fo
92 libscihelptools_la_xsl_fo_DATA = xsl/fo/docbook.xsl
93
94
95 #### helptools : schema files ####
96 libscihelptools_la_schemadir = $(mydatadir)/schema
97 libscihelptools_la_schema_DATA = schema/docbook.rng \
98 schema/dbits.rng \
99 schema/mathml3-common.rng \
100 schema/docbookxi.rng \
101 schema/mathml3-content.rng \
102 schema/mathml3.rng \
103 schema/scilab.rng \
104 schema/mathml3-presentation.rng \
105 schema/extendedStyle.xsl
106
107 #### helptools : pages files ####
108 libscihelptools_la_data_pagesdir = $(mydatadir)/data/pages
109 libscihelptools_la_data_pages_DATA = data/pages/error.html \
110 data/pages/homepage-en_US.html \
111 data/pages/homepage-ru_RU.html \
112 data/pages/homepage-fr_FR.html \
113 data/pages/ban-en_US.png \
114 data/pages/ban-fr_FR.png
115
116 mostlyclean-local:
117         rm -rf web javaHelp html pdf
118
119 include $(top_srcdir)/Makefile.incl.am
120