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 \
66 declipartdocdir = $(pkgdatadir)/doc/de/clipart
67 dist_declipartdoc_DATA = \
69 de/clipart/ExternesMaterialQt4.png \
70 de/clipart/FussnoteQt4.png \
71 de/clipart/GerahmteNotizQt4.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/SchattierteNotizQt4.png \
79 de/clipart/StandardBoxQt4.png \
80 de/clipart/UnterdokumentQt4.png
82 esdocdir = $(pkgdatadir)/doc/es
84 es/DocumentoPostizo1.lyx \
85 es/DocumentoPostizo2.lyx \
86 es/DocumentoTextoPostizo.txt \
87 es/EmbeddedObjects.lyx \
93 esclipartdocdir = $(pkgdatadir)/doc/es/clipart
94 dist_esclipartdoc_DATA = \
95 es/clipart/ComentNotaImagenQt4.png \
96 es/clipart/CuadroMinipagQt4.png \
97 es/clipart/DocumentoHijoQt4.png \
98 es/clipart/es_ERT.png \
99 es/clipart/etiquetaQt4.png \
100 es/clipart/flotanteQt4.png \
101 es/clipart/GrisNotaImagenQt4.png \
102 es/clipart/MaterialExternoQt4.png \
103 es/clipart/NotaEnmarcadaImg.png \
104 es/clipart/NotaLyXImagenQt4.png \
105 es/clipart/notapieQt4.png \
106 es/clipart/NotaSombreadaImg.png \
107 es/clipart/referenciaQt4.png \
108 es/clipart/Resumen.pdf
110 eudocdir = $(pkgdatadir)/doc/eu
112 eu/Customization.lyx \
119 frdocdir = $(pkgdatadir)/doc/fr
121 fr/Customization.lyx \
122 fr/EmbeddedObjects.lyx \
129 frclipartdocdir = $(pkgdatadir)/doc/fr/clipart
130 dist_frclipartdoc_DATA = \
131 fr/clipart/BoxInsetDefaultQt4.png \
132 fr/clipart/ChildDocumentQt4.png \
133 fr/clipart/CommentNoteImageQt4.png \
134 fr/clipart/FramedNoteImageQt4.png \
135 fr/clipart/GreyedOutNoteImageQt4.png \
136 fr/clipart/LyXNoteImageQt4.png \
137 fr/clipart/ShadedNoteImageQt4.png \
138 fr/clipart/floatQt4.png \
139 fr/clipart/footnoteQt4.png \
140 fr/clipart/labelQt4.png
142 gldocdir = $(pkgdatadir)/doc/gl
147 hedocdir = $(pkgdatadir)/doc/he
152 hudocdir = $(pkgdatadir)/doc/hu
157 itdocdir = $(pkgdatadir)/doc/it
159 it/Customization.lyx \
164 nldocdir = $(pkgdatadir)/doc/nl
169 nbdocdir = $(pkgdatadir)/doc/nb
173 pldocdir = $(pkgdatadir)/doc/pl
179 ptdocdir = $(pkgdatadir)/doc/pt
184 rodocdir = $(pkgdatadir)/doc/ro
188 rudocdir = $(pkgdatadir)/doc/ru
194 skdocdir = $(pkgdatadir)/doc/sk
199 sldocdir = $(pkgdatadir)/doc/sl
204 svdocdir = $(pkgdatadir)/doc/sv
209 docdir = $(pkgdatadir)/doc
213 DummyTextDocument.txt \
216 EmbeddedObjects.lyx \
226 doc_DATA = $(docfiles)
228 DEPENDFILE = $(srcdir)/Makefile.depend
229 # include $(DEPENDFILE) does not work because automake is too limited.
230 include $(srcdir)/Makefile.depend
232 TOCs : $(DEPENDFILE) $(tocfiles)
233 @echo Made TOCs succesfully.
235 # Force regeneration of $(DEPENDFILE) when Makefile.am changes because
236 # new doc files might have been added
237 $(DEPENDFILE): $(srcdir)/Makefile.am $(srcdir)/depend.py
238 python $(srcdir)/depend.py > $(DEPENDFILE)
240 # The TOCs are not built for the install and dist targets if they don't exist
241 # for some weird reason.
242 # Make complains although we have rules for them in $(DEPENDFILE), so we
243 # must not include the TOCs in $(docfiles) and have to use the install and
245 dist-hook: $(tocfiles)
246 for i in $(tocfiles); \
248 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
249 else file="$$i"; fi; \
250 cp -p "$$file" "$(distdir)"; \
252 install-data-hook: $(tocfiles)
253 for i in $(tocfiles); \
255 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
256 else file="$$i"; fi; \
257 $(docDATA_INSTALL) "$$file" "$(DESTDIR)$(docdir)/$$i"; \
261 for i in $(tocfiles); \
263 $(RM) "$(DESTDIR)$(docdir)/$$i" ; \