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