]> git.lyx.org Git - lyx.git/blob - lib/doc/Makefile.am
UserGuide.lyx: describe the new support for \dotfill, etc.
[lyx.git] / lib / doc / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 DISTCLEANFILES += $(tocfiles)
4
5 EXTRA_DIST = depend.py doc_toc.py README.Documentation $(DEPENDFILE) $(docfiles)
6
7 bibliodocdir = $(pkgdatadir)/doc/biblio
8 dist_bibliodoc_DATA = \
9         biblio/alphadin.bst \
10         biblio/LyXDocs.bib
11
12 clipartdocdir = $(pkgdatadir)/doc/clipart
13 dist_clipartdoc_DATA = \
14         clipart/escher-lsd.eps \
15         clipart/mobius.eps \
16         clipart/platypus.eps \
17         clipart/Abstract.pdf \
18         clipart/BoxInsetDefaultQt4.png \
19         clipart/ChangesToolbar.png \
20         clipart/ChildDocumentQt4.png \
21         clipart/CommentNoteImageQt4.png \
22         clipart/endnotes.pdf \
23         clipart/ERT.png \
24         clipart/ExternalMaterialQt4.png \
25         clipart/ExtraToolbar.png \
26         clipart/floatQt4.png \
27         clipart/footnoteQt4.png \
28         clipart/GreyedOutNoteImageQt4.png \
29         clipart/labelQt4.png \
30         clipart/LaTeX.png \
31         clipart/LyXNoteImageQt4.png \
32         clipart/macrobox.png \
33         clipart/macrouse.png \
34         clipart/mbox.png \
35         clipart/referenceQt4.png \
36         clipart/SpaceMarker.png \
37         clipart/StandardToolbar.png \
38         clipart/ToolbarEnvBox.png \
39         clipart/ViewToolbar.png \
40         clipart/without_fntright.pdf \
41         clipart/with_fntright.pdf
42
43 csdocdir = $(pkgdatadir)/doc/cs
44 dist_csdoc_DATA = \
45         cs/Tutorial.lyx
46
47 dadocdir = $(pkgdatadir)/doc/da
48 dist_dadoc_DATA = \
49         da/Intro.lyx
50
51 dedocdir = $(pkgdatadir)/doc/de
52 dist_dedoc_DATA = \
53         de/Customization.lyx \
54         de/DummyDocument1.lyx \
55         de/DummyDocument2.lyx \
56         de/DummyTextDocument.txt \
57         de/EmbeddedObjects.lyx \
58         de/Extended.lyx \
59         de/FAQ.lyx \
60         de/Formelnummerierung.lyx \
61         de/Intro.lyx \
62         de/Math.lyx \
63         de/Shortcuts.lyx \
64         de/Tutorial.lyx \
65         de/UserGuide.lyx
66
67 declipartdocdir = $(pkgdatadir)/doc/de/clipart
68 dist_declipartdoc_DATA = \
69         de/clipart/ERT.png \
70         de/clipart/ExternesMaterialQt4.png \
71         de/clipart/FussnoteQt4.png \
72         de/clipart/GleitobjektQt4.png \
73         de/clipart/GrauschriftNotizQt4.png \
74         de/clipart/KommentarQt4.png \
75         de/clipart/LyXNotizQt4.png \
76         de/clipart/Marke.png \
77         de/clipart/Querverweis.png \
78         de/clipart/StandardBoxQt4.png \
79         de/clipart/UnterdokumentQt4.png
80
81 esdocdir = $(pkgdatadir)/doc/es
82 dist_esdoc_DATA = \
83         es/DocumentoPostizo1.lyx \
84         es/DocumentoPostizo2.lyx \
85         es/DocumentoTextoPostizo.txt \
86         es/EmbeddedObjects.lyx \
87         es/Extended.lyx \
88         es/FAQ.lyx \
89         es/Formula-numbering.lyx \
90         es/Intro.lyx \
91         es/Math.lyx \
92         es/Tutorial.lyx \
93         es/UserGuide.lyx
94
95 esclipartdocdir = $(pkgdatadir)/doc/es/clipart
96 dist_esclipartdoc_DATA = \
97         es/clipart/ComentNotaImagenQt4.png \
98         es/clipart/CuadroMinipagQt4.png \
99         es/clipart/DocumentoHijoQt4.png \
100         es/clipart/es_ERT.png \
101         es/clipart/etiquetaQt4.png \
102         es/clipart/flotanteQt4.png \
103         es/clipart/GrisNotaImagenQt4.png \
104         es/clipart/MaterialExternoQt4.png \
105         es/clipart/NotaLyXImagenQt4.png \
106         es/clipart/notapieQt4.png \
107         es/clipart/referenciaQt4.png \
108         es/clipart/Resumen.pdf
109
110 eudocdir = $(pkgdatadir)/doc/eu
111 dist_eudoc_DATA = \
112         eu/Customization.lyx \
113         eu/Extended.lyx \
114         eu/FAQ.lyx \
115         eu/Intro.lyx \
116         eu/Tutorial.lyx \
117         eu/UserGuide.lyx
118
119 frdocdir = $(pkgdatadir)/doc/fr
120 dist_frdoc_DATA = \
121         fr/Customization.lyx \
122         fr/DocumentBidon1.lyx \
123         fr/DocumentBidon2.lyx \
124         fr/DocumentTexteBidon.txt \
125         fr/EmbeddedObjects.lyx \
126         fr/Extended.lyx \
127         fr/FAQ.lyx \
128         fr/Formula-numbering.lyx \
129         fr/Intro.lyx \
130         fr/Math.lyx \
131         fr/Tutorial.lyx \
132         fr/UserGuide.lyx
133
134 frclipartdocdir = $(pkgdatadir)/doc/fr/clipart
135 dist_frclipartdoc_DATA = \
136         fr/clipart/BoxInsetDefaultQt4.png \
137         fr/clipart/ChildDocumentQt4.png \
138         fr/clipart/CommentNoteImageQt4.png \
139         fr/clipart/GreyedOutNoteImageQt4.png \
140         fr/clipart/LyXNoteImageQt4.png \
141         fr/clipart/floatQt4.png \
142         fr/clipart/footnoteQt4.png \
143         fr/clipart/labelQt4.png
144
145 gldocdir = $(pkgdatadir)/doc/gl
146 dist_gldoc_DATA = \
147         gl/Intro.lyx \
148         gl/Tutorial.lyx
149
150 hedocdir = $(pkgdatadir)/doc/he
151 dist_hedoc_DATA = \
152         he/Intro.lyx \
153         he/Tutorial.lyx
154
155 hudocdir = $(pkgdatadir)/doc/hu
156 dist_hudoc_DATA = \
157         hu/Intro.lyx \
158         hu/Tutorial.lyx
159
160 itdocdir = $(pkgdatadir)/doc/it
161 dist_itdoc_DATA = \
162         it/Customization.lyx \
163         it/Intro.lyx \
164         it/Tutorial.lyx \
165         it/UserGuide.lyx
166
167 itclipartdocdir = $(pkgdatadir)/doc/it/clipart
168 dist_itclipartdoc_DATA = \
169         it/clipart/it_footnoteQt4.png \
170         it/clipart/it_referenceQt4.png
171
172 jadocdir = $(pkgdatadir)/doc/ja
173 dist_jadoc_DATA = \
174         ja/FAQ.lyx \
175         ja/Intro.lyx \
176         ja/LaTeXConfig.lyx \
177         ja/Shortcuts.lyx \
178         ja/Tutorial.lyx
179
180 jaclipartdocdir = $(pkgdatadir)/doc/ja/clipart
181 dist_jaclipartdoc_DATA = \
182         ja/clipart/footnoteQt4.png \
183         ja/clipart/referenceQt4.png
184
185 nldocdir = $(pkgdatadir)/doc/nl
186 dist_nldoc_DATA = \
187         nl/Intro.lyx \
188         nl/Tutorial.lyx
189
190 nbdocdir = $(pkgdatadir)/doc/nb
191 dist_nbdoc_DATA = \
192         nb/Intro.lyx
193
194 pldocdir = $(pkgdatadir)/doc/pl
195 dist_pldoc_DATA = \
196         pl/Extended.lyx \
197         pl/Intro.lyx \
198         pl/Tutorial.lyx
199
200 ptdocdir = $(pkgdatadir)/doc/pt
201 dist_ptdoc_DATA = \
202         pt/Intro.lyx \
203         pt/Tutorial.lyx
204
205 rodocdir = $(pkgdatadir)/doc/ro
206 dist_rodoc_DATA = \
207         ro/Intro.lyx
208
209 rudocdir = $(pkgdatadir)/doc/ru
210 dist_rudoc_DATA = \
211         ru/FAQ.lyx \
212         ru/Intro.lyx \
213         ru/Tutorial.lyx
214
215 skdocdir = $(pkgdatadir)/doc/sk
216 dist_skdoc_DATA = \
217         sk/Tutorial.lyx \
218         sk/UserGuide.lyx
219
220 sldocdir = $(pkgdatadir)/doc/sl
221 dist_sldoc_DATA = \
222         sl/Intro.lyx \
223         sl/Tutorial.lyx
224
225 svdocdir = $(pkgdatadir)/doc/sv
226 dist_svdoc_DATA = \
227         sv/Intro.lyx \
228         sv/Tutorial.lyx
229
230 docdir = $(pkgdatadir)/doc
231 dist_doc_DATA = \
232         Customization.lyx \
233         DocStyle.lyx \
234         DummyTextDocument.txt \
235         DummyDocument1.lyx \
236         DummyDocument2.lyx \
237         EmbeddedObjects.lyx \
238         Extended.lyx \
239         FAQ.lyx \
240         Formula-numbering.lyx \
241         Intro.lyx \
242         LaTeXConfig.lyx \
243         Math.lyx \
244         Reference.lyx \
245         Shortcuts.lyx \
246         Tutorial.lyx \
247         UserGuide.lyx
248
249 doc_DATA = $(docfiles) 
250
251 DEPENDFILE = $(srcdir)/Makefile.depend
252 # include $(DEPENDFILE) does not work because automake is too limited.
253 include $(srcdir)/Makefile.depend
254
255 TOCs : $(DEPENDFILE) $(tocfiles)
256         @echo Made TOCs succesfully.
257
258 # Force regeneration of $(DEPENDFILE) when Makefile.am changes because
259 # new doc files might have been added
260 $(DEPENDFILE): $(srcdir)/Makefile.am $(srcdir)/depend.py
261         python $(srcdir)/depend.py > $(DEPENDFILE)
262
263 # The TOCs are not built for the install and dist targets if they don't exist
264 # for some weird reason.
265 # Make complains although we have rules for them in $(DEPENDFILE), so we
266 # must not include the TOCs in $(docfiles) and have to use the install and
267 # dist hooks below.
268 dist-hook: $(tocfiles)
269         for i in $(tocfiles); \
270         do \
271                 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
272                 else file="$$i"; fi; \
273                 cp -p "$$file" "$(distdir)"; \
274         done
275 install-data-hook: $(tocfiles)
276         for i in $(tocfiles); \
277         do \
278                 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
279                 else file="$$i"; fi; \
280                 $(docDATA_INSTALL) "$$file" "$(DESTDIR)$(docdir)/$$i"; \
281         done
282
283 uninstall-local:
284         for i in $(tocfiles); \
285         do \
286                 $(RM) "$(DESTDIR)$(docdir)/$$i" ; \
287         done
288
289 .PHONY: TOCs