]> git.lyx.org Git - lyx.git/blob - lib/doc/Makefile.am
EmbeddedObjects: add ligature breaks, spotted by Hartmut
[lyx.git] / lib / doc / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 DISTCLEANFILES += $(tocfiles)
4
5 EXTRA_DIST = depend.py doc_toc.py README.Documentation $(DEPENDFILE) $(docfiles)
6
7 clipartdocdir = $(pkgdatadir)/doc/clipart
8 dist_clipartdoc_DATA = \
9         clipart/escher-lsd.eps \
10         clipart/mobius.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
27
28 csdocdir = $(pkgdatadir)/doc/cs
29 dist_csdoc_DATA = \
30         cs/Tutorial.lyx
31
32 dadocdir = $(pkgdatadir)/doc/da
33 dist_dadoc_DATA = \
34         da/Intro.lyx
35
36 dedocdir = $(pkgdatadir)/doc/de
37 dist_dedoc_DATA = \
38         de/Customization.lyx \
39         de/Extended.lyx \
40         de/FAQ.lyx \
41         de/Intro.lyx \
42         de/Tutorial.lyx \
43         de/UserGuide.lyx
44
45 declipartdocdir = $(pkgdatadir)/doc/de/clipart
46 dist_declipartdoc_DATA = \
47         de/clipart/FussnoteQt4.png
48
49 esdocdir = $(pkgdatadir)/doc/es
50 dist_esdoc_DATA = \
51         es/DocumentoPostizo1.lyx \
52         es/DocumentoPostizo2.lyx \
53         es/DocumentoTextoPostizo.txt \
54         es/EmbeddedObjects.lyx \
55         es/Extended.lyx \
56         es/Intro.lyx \
57         es/Tutorial.lyx
58
59 esclipartdocdir = $(pkgdatadir)/doc/es/clipart
60 dist_esclipartdoc_DATA = \
61         es/clipart/ComentNotaImagenQt4.png \
62         es/clipart/CuadroMinipagQt4.png \
63         es/clipart/DocumentoHijoQt4.png \
64         es/clipart/etiquetaQt4.png \
65         es/clipart/flotanteQt4.png \
66         es/clipart/GrisNotaImagenQt4.png \
67         es/clipart/MaterialExternoQt4.png \
68         es/clipart/NotaEnmarcadaImg.png \
69         es/clipart/NotaLyXImagenQt4.png \
70         es/clipart/notapieQt4.png \
71         es/clipart/NotaSombreadaImg.png \
72         es/clipart/referenciaQt4.png
73
74 eudocdir = $(pkgdatadir)/doc/eu
75 dist_eudoc_DATA = \
76         eu/Customization.lyx \
77         eu/Extended.lyx \
78         eu/FAQ.lyx \
79         eu/Intro.lyx \
80         eu/Tutorial.lyx \
81         eu/UserGuide.lyx
82
83 frdocdir = $(pkgdatadir)/doc/fr
84 dist_frdoc_DATA = \
85         fr/Customization.lyx \
86         fr/Extended.lyx \
87         fr/FAQ.lyx \
88         fr/Intro.lyx \
89         fr/Tutorial.lyx \
90         fr/UserGuide.lyx
91
92 gldocdir = $(pkgdatadir)/doc/gl
93 dist_gldoc_DATA = \
94         gl/Intro.lyx \
95         gl/Tutorial.lyx
96
97 hedocdir = $(pkgdatadir)/doc/he
98 dist_hedoc_DATA = \
99         he/Intro.lyx \
100         he/Tutorial.lyx
101
102 hudocdir = $(pkgdatadir)/doc/hu
103 dist_hudoc_DATA = \
104         hu/Intro.lyx \
105         hu/Tutorial.lyx
106
107 itdocdir = $(pkgdatadir)/doc/it
108 dist_itdoc_DATA = \
109         it/Customization.lyx \
110         it/Intro.lyx \
111         it/Tutorial.lyx \
112         it/UserGuide.lyx
113
114 nldocdir = $(pkgdatadir)/doc/nl
115 dist_nldoc_DATA = \
116         nl/Intro.lyx \
117         nl/Tutorial.lyx
118
119 nbdocdir = $(pkgdatadir)/doc/nb
120 dist_nbdoc_DATA = \
121         nb/Intro.lyx
122
123 pldocdir = $(pkgdatadir)/doc/pl
124 dist_pldoc_DATA = \
125         pl/Extended.lyx \
126         pl/Intro.lyx \
127         pl/Tutorial.lyx
128
129 ptdocdir = $(pkgdatadir)/doc/pt
130 dist_ptdoc_DATA = \
131         pt/Intro.lyx \
132         pt/Tutorial.lyx
133
134 rodocdir = $(pkgdatadir)/doc/ro
135 dist_rodoc_DATA = \
136         ro/Intro.lyx
137
138 rudocdir = $(pkgdatadir)/doc/ru
139 dist_rudoc_DATA = \
140         ru/FAQ.lyx \
141         ru/Intro.lyx \
142         ru/Tutorial.lyx
143
144 skdocdir = $(pkgdatadir)/doc/sk
145 dist_skdoc_DATA = \
146         sk/Tutorial.lyx \
147         sk/UserGuide.lyx
148
149 sldocdir = $(pkgdatadir)/doc/sl
150 dist_sldoc_DATA = \
151         sl/Intro.lyx \
152         sl/Tutorial.lyx
153
154 svdocdir = $(pkgdatadir)/doc/sv
155 dist_svdoc_DATA = \
156         sv/Intro.lyx \
157         sv/Tutorial.lyx
158
159 docdir = $(pkgdatadir)/doc
160 dist_doc_DATA = \
161         Customization.lyx \
162         DocStyle.lyx \
163         DummyTextDocument.txt \
164         DummyDocument1.lyx \
165         DummyDocument2.lyx \
166         EmbeddedObjects.lyx \
167         Extended.lyx \
168         FAQ.lyx \
169         Intro.lyx \
170         LaTeXConfig.lyx.in \
171         Reference.lyx \
172         Tutorial.lyx \
173         UserGuide.lyx
174
175 doc_DATA = $(docfiles) 
176
177 DEPENDFILE = $(srcdir)/Makefile.depend
178 # include $(DEPENDFILE) does not work because automake is too limited.
179 include $(srcdir)/Makefile.depend
180
181 TOCs : $(DEPENDFILE) $(tocfiles)
182         @echo Made TOCs succesfully.
183
184 # Force regeneration of $(DEPENDFILE) when Makefile.am changes because
185 # new doc files might have been added
186 $(DEPENDFILE): $(srcdir)/Makefile.am $(srcdir)/depend.py
187         python $(srcdir)/depend.py > $(DEPENDFILE)
188
189 # The TOCs are not built for the install and dist targets if they don't exist
190 # for some weird reason.
191 # Make complains although we have rules for them in $(DEPENDFILE), so we
192 # must not include the TOCs in $(docfiles) and have to use the install and
193 # dist hooks below.
194 dist-hook: $(tocfiles)
195         for i in $(tocfiles); \
196         do \
197                 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
198                 else file="$$i"; fi; \
199                 cp -p "$$file" "$(distdir)"; \
200         done
201 install-data-hook: $(tocfiles)
202         for i in $(tocfiles); \
203         do \
204                 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
205                 else file="$$i"; fi; \
206                 $(docDATA_INSTALL) "$$file" "$(DESTDIR)$(docdir)/$$i"; \
207         done
208
209 uninstall-local:
210         for i in $(tocfiles); \
211         do \
212                 $(RM) "$(DESTDIR)$(docdir)/$$i" ; \
213         done
214
215 .PHONY: TOCs