1 include $(top_srcdir)/config/common.am
3 DISTCLEANFILES += $(tocfiles)
5 EXTRA_DIST = depend.py doc_toc.py README.Documentation $(DEPENDFILE) $(docfiles)
7 clipartdocdir = $(pkgdatadir)/doc/clipart
8 dist_clipartdoc_DATA = \
9 clipart/escher-lsd.eps \
11 clipart/platypus.eps \
12 clipart/BoxInsetDefaultQt4.png \
13 clipart/ChildDocumentQt4.png \
14 clipart/CommentNoteImageQt4.png \
15 clipart/endnotes.pdf \
16 clipart/ExternalMaterialQt4.png \
17 clipart/floatQt4.png \
18 clipart/footnoteQt4.png \
19 clipart/FramedNoteImageQt4.png \
20 clipart/GreyedOutNoteImageQt4.png \
21 clipart/labelQt4.png \
22 clipart/LyXNoteImageQt4.png \
23 clipart/referenceQt4.png \
24 clipart/ShadedNoteImageQt4.png \
25 clipart/without_fntright.pdf \
26 clipart/with_fntright.pdf
28 csdocdir = $(pkgdatadir)/doc/cs
32 dadocdir = $(pkgdatadir)/doc/da
36 dedocdir = $(pkgdatadir)/doc/de
38 de/Customization.lyx \
39 de/DummyDocument1.lyx \
40 de/DummyDocument2.lyx \
41 de/DummyTextDocument.txt \
42 de/EmbeddedObjects.lyx \
49 declipartdocdir = $(pkgdatadir)/doc/de/clipart
50 dist_declipartdoc_DATA = \
51 de/clipart/ExternesMaterialQt4.png \
52 de/clipart/FussnoteQt4.png \
53 de/clipart/GerahmteNotizQt4.png \
54 de/clipart/GleitobjektQt4.png \
55 de/clipart/GrauschriftNotizQt4.png \
56 de/clipart/KommentarQt4.png \
57 de/clipart/LyXNotizQt4.png \
58 de/clipart/Marke.png \
59 de/clipart/Querverweis.png \
60 de/clipart/SchattierteNotizQt4.png \
61 de/clipart/StandardBoxQt4.png \
62 de/clipart/UnterdokumentQt4.png
64 esdocdir = $(pkgdatadir)/doc/es
66 es/DocumentoPostizo1.lyx \
67 es/DocumentoPostizo2.lyx \
68 es/DocumentoTextoPostizo.txt \
69 es/EmbeddedObjects.lyx \
74 esclipartdocdir = $(pkgdatadir)/doc/es/clipart
75 dist_esclipartdoc_DATA = \
76 es/clipart/ComentNotaImagenQt4.png \
77 es/clipart/CuadroMinipagQt4.png \
78 es/clipart/DocumentoHijoQt4.png \
79 es/clipart/etiquetaQt4.png \
80 es/clipart/flotanteQt4.png \
81 es/clipart/GrisNotaImagenQt4.png \
82 es/clipart/MaterialExternoQt4.png \
83 es/clipart/NotaEnmarcadaImg.png \
84 es/clipart/NotaLyXImagenQt4.png \
85 es/clipart/notapieQt4.png \
86 es/clipart/NotaSombreadaImg.png \
87 es/clipart/referenciaQt4.png
89 eudocdir = $(pkgdatadir)/doc/eu
91 eu/Customization.lyx \
98 frdocdir = $(pkgdatadir)/doc/fr
100 fr/Customization.lyx \
107 gldocdir = $(pkgdatadir)/doc/gl
112 hedocdir = $(pkgdatadir)/doc/he
117 hudocdir = $(pkgdatadir)/doc/hu
122 itdocdir = $(pkgdatadir)/doc/it
124 it/Customization.lyx \
129 nldocdir = $(pkgdatadir)/doc/nl
134 nbdocdir = $(pkgdatadir)/doc/nb
138 pldocdir = $(pkgdatadir)/doc/pl
144 ptdocdir = $(pkgdatadir)/doc/pt
149 rodocdir = $(pkgdatadir)/doc/ro
153 rudocdir = $(pkgdatadir)/doc/ru
159 skdocdir = $(pkgdatadir)/doc/sk
164 sldocdir = $(pkgdatadir)/doc/sl
169 svdocdir = $(pkgdatadir)/doc/sv
174 docdir = $(pkgdatadir)/doc
178 DummyTextDocument.txt \
181 EmbeddedObjects.lyx \
190 doc_DATA = $(docfiles)
192 DEPENDFILE = $(srcdir)/Makefile.depend
193 # include $(DEPENDFILE) does not work because automake is too limited.
194 include $(srcdir)/Makefile.depend
196 TOCs : $(DEPENDFILE) $(tocfiles)
197 @echo Made TOCs succesfully.
199 # Force regeneration of $(DEPENDFILE) when Makefile.am changes because
200 # new doc files might have been added
201 $(DEPENDFILE): $(srcdir)/Makefile.am $(srcdir)/depend.py
202 python $(srcdir)/depend.py > $(DEPENDFILE)
204 # The TOCs are not built for the install and dist targets if they don't exist
205 # for some weird reason.
206 # Make complains although we have rules for them in $(DEPENDFILE), so we
207 # must not include the TOCs in $(docfiles) and have to use the install and
209 dist-hook: $(tocfiles)
210 for i in $(tocfiles); \
212 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
213 else file="$$i"; fi; \
214 cp -p "$$file" "$(distdir)"; \
216 install-data-hook: $(tocfiles)
217 for i in $(tocfiles); \
219 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
220 else file="$$i"; fi; \
221 $(docDATA_INSTALL) "$$file" "$(DESTDIR)$(docdir)/$$i"; \
225 for i in $(tocfiles); \
227 $(RM) "$(DESTDIR)$(docdir)/$$i" ; \