1 include $(top_srcdir)/config/common.am
3 DISTCLEANFILES += $(tocfiles)
5 EXTRA_DIST = depend.py doc_toc.py README.Documentation $(DEPENDFILE) $(docfiles)
7 bibliodocdir = $(pkgdatadir)/doc/biblio
8 dist_bibliodoc_DATA = \
12 clipartdocdir = $(pkgdatadir)/doc/clipart
13 dist_clipartdoc_DATA = \
14 clipart/escher-lsd.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 \
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 \
32 clipart/LyXNoteImageQt4.png \
33 clipart/macrobox.png \
34 clipart/macrouse.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
45 csdocdir = $(pkgdatadir)/doc/cs
49 dadocdir = $(pkgdatadir)/doc/da
53 dedocdir = $(pkgdatadir)/doc/de
55 de/Customization.lyx \
56 de/DummyDocument1.lyx \
57 de/DummyDocument2.lyx \
58 de/DummyTextDocument.txt \
59 de/EmbeddedObjects.lyx \
62 de/Formelnummerierung.lyx \
69 declipartdocdir = $(pkgdatadir)/doc/de/clipart
70 dist_declipartdoc_DATA = \
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
85 esdocdir = $(pkgdatadir)/doc/es
87 es/DocumentoPostizo1.lyx \
88 es/DocumentoPostizo2.lyx \
89 es/DocumentoTextoPostizo.txt \
90 es/EmbeddedObjects.lyx \
93 es/Formula-numbering.lyx \
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
116 eudocdir = $(pkgdatadir)/doc/eu
118 eu/Customization.lyx \
125 frdocdir = $(pkgdatadir)/doc/fr
127 fr/Customization.lyx \
128 fr/DocumentBidon1.lyx \
129 fr/DocumentBidon2.lyx \
130 fr/DocumentTexteBidon.txt \
131 fr/EmbeddedObjects.lyx \
134 fr/Formula-numbering.lyx \
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
153 gldocdir = $(pkgdatadir)/doc/gl
158 hedocdir = $(pkgdatadir)/doc/he
163 hudocdir = $(pkgdatadir)/doc/hu
168 itdocdir = $(pkgdatadir)/doc/it
170 it/Customization.lyx \
175 itclipartdocdir = $(pkgdatadir)/doc/it/clipart
176 dist_itclipartdoc_DATA = \
177 it/clipart/it_footnoteQt4.png \
178 it/clipart/it_referenceQt4.png
180 jadocdir = $(pkgdatadir)/doc/ja
188 jaclipartdocdir = $(pkgdatadir)/doc/ja/clipart
189 dist_jaclipartdoc_DATA = \
190 ja/clipart/footnoteQt4.png \
191 ja/clipart/referenceQt4.png
193 nldocdir = $(pkgdatadir)/doc/nl
198 nbdocdir = $(pkgdatadir)/doc/nb
202 pldocdir = $(pkgdatadir)/doc/pl
208 ptdocdir = $(pkgdatadir)/doc/pt
213 rodocdir = $(pkgdatadir)/doc/ro
217 rudocdir = $(pkgdatadir)/doc/ru
223 skdocdir = $(pkgdatadir)/doc/sk
228 sldocdir = $(pkgdatadir)/doc/sl
233 svdocdir = $(pkgdatadir)/doc/sv
238 docdir = $(pkgdatadir)/doc
242 DummyTextDocument.txt \
245 EmbeddedObjects.lyx \
248 Formula-numbering.lyx \
257 doc_DATA = $(docfiles)
259 DEPENDFILE = $(srcdir)/Makefile.depend
260 # include $(DEPENDFILE) does not work because automake is too limited.
261 include $(srcdir)/Makefile.depend
263 TOCs : $(DEPENDFILE) $(tocfiles)
264 @echo Made TOCs succesfully.
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)
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
276 dist-hook: $(tocfiles)
277 for i in $(tocfiles); \
279 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
280 else file="$$i"; fi; \
281 cp -p "$$file" "$(distdir)"; \
283 install-data-hook: $(tocfiles)
284 for i in $(tocfiles); \
286 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
287 else file="$$i"; fi; \
288 $(docDATA_INSTALL) "$$file" "$(DESTDIR)$(docdir)/$$i"; \
292 for i in $(tocfiles); \
294 $(RM) "$(DESTDIR)$(docdir)/$$i" ; \