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 \
92 es/Formula-numbering.lyx \
98 esclipartdocdir = $(pkgdatadir)/doc/es/clipart
99 dist_esclipartdoc_DATA = \
100 es/clipart/ComentNotaImagenQt4.png \
101 es/clipart/CuadroMinipagQt4.png \
102 es/clipart/DocumentoHijoQt4.png \
103 es/clipart/es_ERT.png \
104 es/clipart/etiquetaQt4.png \
105 es/clipart/flotanteQt4.png \
106 es/clipart/GrisNotaImagenQt4.png \
107 es/clipart/MaterialExternoQt4.png \
108 es/clipart/NotaEnmarcadaImg.png \
109 es/clipart/NotaLyXImagenQt4.png \
110 es/clipart/notapieQt4.png \
111 es/clipart/NotaSombreadaImg.png \
112 es/clipart/referenciaQt4.png \
113 es/clipart/Resumen.pdf
115 eudocdir = $(pkgdatadir)/doc/eu
117 eu/Customization.lyx \
124 frdocdir = $(pkgdatadir)/doc/fr
126 fr/Customization.lyx \
127 fr/DocumentBidon1.lyx \
128 fr/DocumentBidon2.lyx \
129 fr/DocumentTexteBidon.txt \
130 fr/EmbeddedObjects.lyx \
133 fr/Formula-numbering.lyx \
139 frclipartdocdir = $(pkgdatadir)/doc/fr/clipart
140 dist_frclipartdoc_DATA = \
141 fr/clipart/BoxInsetDefaultQt4.png \
142 fr/clipart/ChildDocumentQt4.png \
143 fr/clipart/CommentNoteImageQt4.png \
144 fr/clipart/FramedNoteImageQt4.png \
145 fr/clipart/GreyedOutNoteImageQt4.png \
146 fr/clipart/LyXNoteImageQt4.png \
147 fr/clipart/ShadedNoteImageQt4.png \
148 fr/clipart/floatQt4.png \
149 fr/clipart/footnoteQt4.png \
150 fr/clipart/labelQt4.png
152 gldocdir = $(pkgdatadir)/doc/gl
157 hedocdir = $(pkgdatadir)/doc/he
162 hudocdir = $(pkgdatadir)/doc/hu
167 itdocdir = $(pkgdatadir)/doc/it
169 it/Customization.lyx \
174 nldocdir = $(pkgdatadir)/doc/nl
179 nbdocdir = $(pkgdatadir)/doc/nb
183 pldocdir = $(pkgdatadir)/doc/pl
189 ptdocdir = $(pkgdatadir)/doc/pt
194 rodocdir = $(pkgdatadir)/doc/ro
198 rudocdir = $(pkgdatadir)/doc/ru
204 skdocdir = $(pkgdatadir)/doc/sk
209 sldocdir = $(pkgdatadir)/doc/sl
214 svdocdir = $(pkgdatadir)/doc/sv
219 docdir = $(pkgdatadir)/doc
223 DummyTextDocument.txt \
226 EmbeddedObjects.lyx \
229 Formula-numbering.lyx \
238 doc_DATA = $(docfiles)
240 DEPENDFILE = $(srcdir)/Makefile.depend
241 # include $(DEPENDFILE) does not work because automake is too limited.
242 include $(srcdir)/Makefile.depend
244 TOCs : $(DEPENDFILE) $(tocfiles)
245 @echo Made TOCs succesfully.
247 # Force regeneration of $(DEPENDFILE) when Makefile.am changes because
248 # new doc files might have been added
249 $(DEPENDFILE): $(srcdir)/Makefile.am $(srcdir)/depend.py
250 python $(srcdir)/depend.py > $(DEPENDFILE)
252 # The TOCs are not built for the install and dist targets if they don't exist
253 # for some weird reason.
254 # Make complains although we have rules for them in $(DEPENDFILE), so we
255 # must not include the TOCs in $(docfiles) and have to use the install and
257 dist-hook: $(tocfiles)
258 for i in $(tocfiles); \
260 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
261 else file="$$i"; fi; \
262 cp -p "$$file" "$(distdir)"; \
264 install-data-hook: $(tocfiles)
265 for i in $(tocfiles); \
267 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
268 else file="$$i"; fi; \
269 $(docDATA_INSTALL) "$$file" "$(DESTDIR)$(docdir)/$$i"; \
273 for i in $(tocfiles); \
275 $(RM) "$(DESTDIR)$(docdir)/$$i" ; \