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 \
68 declipartdocdir = $(pkgdatadir)/doc/de/clipart
69 dist_declipartdoc_DATA = \
71 de/clipart/ExternesMaterialQt4.png \
72 de/clipart/FussnoteQt4.png \
73 de/clipart/GerahmteNotizQt4.png \
74 de/clipart/GleitobjektQt4.png \
75 de/clipart/GrauschriftNotizQt4.png \
76 de/clipart/KommentarQt4.png \
77 de/clipart/LyXNotizQt4.png \
78 de/clipart/Marke.png \
79 de/clipart/Querverweis.png \
80 de/clipart/SchattierteNotizQt4.png \
81 de/clipart/StandardBoxQt4.png \
82 de/clipart/UnterdokumentQt4.png
84 esdocdir = $(pkgdatadir)/doc/es
86 es/DocumentoPostizo1.lyx \
87 es/DocumentoPostizo2.lyx \
88 es/DocumentoTextoPostizo.txt \
89 es/EmbeddedObjects.lyx \
96 esclipartdocdir = $(pkgdatadir)/doc/es/clipart
97 dist_esclipartdoc_DATA = \
98 es/clipart/ComentNotaImagenQt4.png \
99 es/clipart/CuadroMinipagQt4.png \
100 es/clipart/DocumentoHijoQt4.png \
101 es/clipart/es_ERT.png \
102 es/clipart/etiquetaQt4.png \
103 es/clipart/flotanteQt4.png \
104 es/clipart/GrisNotaImagenQt4.png \
105 es/clipart/MaterialExternoQt4.png \
106 es/clipart/NotaEnmarcadaImg.png \
107 es/clipart/NotaLyXImagenQt4.png \
108 es/clipart/notapieQt4.png \
109 es/clipart/NotaSombreadaImg.png \
110 es/clipart/referenciaQt4.png \
111 es/clipart/Resumen.pdf
113 eudocdir = $(pkgdatadir)/doc/eu
115 eu/Customization.lyx \
122 frdocdir = $(pkgdatadir)/doc/fr
124 fr/Customization.lyx \
125 fr/EmbeddedObjects.lyx \
132 frclipartdocdir = $(pkgdatadir)/doc/fr/clipart
133 dist_frclipartdoc_DATA = \
134 fr/clipart/BoxInsetDefaultQt4.png \
135 fr/clipart/ChildDocumentQt4.png \
136 fr/clipart/CommentNoteImageQt4.png \
137 fr/clipart/FramedNoteImageQt4.png \
138 fr/clipart/GreyedOutNoteImageQt4.png \
139 fr/clipart/LyXNoteImageQt4.png \
140 fr/clipart/ShadedNoteImageQt4.png \
141 fr/clipart/floatQt4.png \
142 fr/clipart/footnoteQt4.png \
143 fr/clipart/labelQt4.png
145 gldocdir = $(pkgdatadir)/doc/gl
150 hedocdir = $(pkgdatadir)/doc/he
155 hudocdir = $(pkgdatadir)/doc/hu
160 itdocdir = $(pkgdatadir)/doc/it
162 it/Customization.lyx \
167 nldocdir = $(pkgdatadir)/doc/nl
172 nbdocdir = $(pkgdatadir)/doc/nb
176 pldocdir = $(pkgdatadir)/doc/pl
182 ptdocdir = $(pkgdatadir)/doc/pt
187 rodocdir = $(pkgdatadir)/doc/ro
191 rudocdir = $(pkgdatadir)/doc/ru
197 skdocdir = $(pkgdatadir)/doc/sk
202 sldocdir = $(pkgdatadir)/doc/sl
207 svdocdir = $(pkgdatadir)/doc/sv
212 docdir = $(pkgdatadir)/doc
216 DummyTextDocument.txt \
219 EmbeddedObjects.lyx \
222 Formula-numbering.lyx \
231 doc_DATA = $(docfiles)
233 DEPENDFILE = $(srcdir)/Makefile.depend
234 # include $(DEPENDFILE) does not work because automake is too limited.
235 include $(srcdir)/Makefile.depend
237 TOCs : $(DEPENDFILE) $(tocfiles)
238 @echo Made TOCs succesfully.
240 # Force regeneration of $(DEPENDFILE) when Makefile.am changes because
241 # new doc files might have been added
242 $(DEPENDFILE): $(srcdir)/Makefile.am $(srcdir)/depend.py
243 python $(srcdir)/depend.py > $(DEPENDFILE)
245 # The TOCs are not built for the install and dist targets if they don't exist
246 # for some weird reason.
247 # Make complains although we have rules for them in $(DEPENDFILE), so we
248 # must not include the TOCs in $(docfiles) and have to use the install and
250 dist-hook: $(tocfiles)
251 for i in $(tocfiles); \
253 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
254 else file="$$i"; fi; \
255 cp -p "$$file" "$(distdir)"; \
257 install-data-hook: $(tocfiles)
258 for i in $(tocfiles); \
260 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
261 else file="$$i"; fi; \
262 $(docDATA_INSTALL) "$$file" "$(DESTDIR)$(docdir)/$$i"; \
266 for i in $(tocfiles); \
268 $(RM) "$(DESTDIR)$(docdir)/$$i" ; \