]> git.lyx.org Git - lyx.git/blob - lib/doc/Makefile.am
German UserGuide: latest patches 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/DummyDocument1.lyx \
40         de/DummyDocument2.lyx \
41         de/DummyTextDocument.txt \
42         de/EmbeddedObjects.lyx \
43         de/Extended.lyx \
44         de/FAQ.lyx \
45         de/Intro.lyx \
46         de/Tutorial.lyx \
47         de/UserGuide.lyx
48
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
63
64 esdocdir = $(pkgdatadir)/doc/es
65 dist_esdoc_DATA = \
66         es/DocumentoPostizo1.lyx \
67         es/DocumentoPostizo2.lyx \
68         es/DocumentoTextoPostizo.txt \
69         es/EmbeddedObjects.lyx \
70         es/Extended.lyx \
71         es/Intro.lyx \
72         es/Tutorial.lyx
73
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
88
89 eudocdir = $(pkgdatadir)/doc/eu
90 dist_eudoc_DATA = \
91         eu/Customization.lyx \
92         eu/Extended.lyx \
93         eu/FAQ.lyx \
94         eu/Intro.lyx \
95         eu/Tutorial.lyx \
96         eu/UserGuide.lyx
97
98 frdocdir = $(pkgdatadir)/doc/fr
99 dist_frdoc_DATA = \
100         fr/Customization.lyx \
101         fr/Extended.lyx \
102         fr/FAQ.lyx \
103         fr/Intro.lyx \
104         fr/Tutorial.lyx \
105         fr/UserGuide.lyx
106
107 gldocdir = $(pkgdatadir)/doc/gl
108 dist_gldoc_DATA = \
109         gl/Intro.lyx \
110         gl/Tutorial.lyx
111
112 hedocdir = $(pkgdatadir)/doc/he
113 dist_hedoc_DATA = \
114         he/Intro.lyx \
115         he/Tutorial.lyx
116
117 hudocdir = $(pkgdatadir)/doc/hu
118 dist_hudoc_DATA = \
119         hu/Intro.lyx \
120         hu/Tutorial.lyx
121
122 itdocdir = $(pkgdatadir)/doc/it
123 dist_itdoc_DATA = \
124         it/Customization.lyx \
125         it/Intro.lyx \
126         it/Tutorial.lyx \
127         it/UserGuide.lyx
128
129 nldocdir = $(pkgdatadir)/doc/nl
130 dist_nldoc_DATA = \
131         nl/Intro.lyx \
132         nl/Tutorial.lyx
133
134 nbdocdir = $(pkgdatadir)/doc/nb
135 dist_nbdoc_DATA = \
136         nb/Intro.lyx
137
138 pldocdir = $(pkgdatadir)/doc/pl
139 dist_pldoc_DATA = \
140         pl/Extended.lyx \
141         pl/Intro.lyx \
142         pl/Tutorial.lyx
143
144 ptdocdir = $(pkgdatadir)/doc/pt
145 dist_ptdoc_DATA = \
146         pt/Intro.lyx \
147         pt/Tutorial.lyx
148
149 rodocdir = $(pkgdatadir)/doc/ro
150 dist_rodoc_DATA = \
151         ro/Intro.lyx
152
153 rudocdir = $(pkgdatadir)/doc/ru
154 dist_rudoc_DATA = \
155         ru/FAQ.lyx \
156         ru/Intro.lyx \
157         ru/Tutorial.lyx
158
159 skdocdir = $(pkgdatadir)/doc/sk
160 dist_skdoc_DATA = \
161         sk/Tutorial.lyx \
162         sk/UserGuide.lyx
163
164 sldocdir = $(pkgdatadir)/doc/sl
165 dist_sldoc_DATA = \
166         sl/Intro.lyx \
167         sl/Tutorial.lyx
168
169 svdocdir = $(pkgdatadir)/doc/sv
170 dist_svdoc_DATA = \
171         sv/Intro.lyx \
172         sv/Tutorial.lyx
173
174 docdir = $(pkgdatadir)/doc
175 dist_doc_DATA = \
176         Customization.lyx \
177         DocStyle.lyx \
178         DummyTextDocument.txt \
179         DummyDocument1.lyx \
180         DummyDocument2.lyx \
181         EmbeddedObjects.lyx \
182         Extended.lyx \
183         FAQ.lyx \
184         Intro.lyx \
185         LaTeXConfig.lyx.in \
186         Reference.lyx \
187         Tutorial.lyx \
188         UserGuide.lyx
189
190 doc_DATA = $(docfiles) 
191
192 DEPENDFILE = $(srcdir)/Makefile.depend
193 # include $(DEPENDFILE) does not work because automake is too limited.
194 include $(srcdir)/Makefile.depend
195
196 TOCs : $(DEPENDFILE) $(tocfiles)
197         @echo Made TOCs succesfully.
198
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)
203
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
208 # dist hooks below.
209 dist-hook: $(tocfiles)
210         for i in $(tocfiles); \
211         do \
212                 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
213                 else file="$$i"; fi; \
214                 cp -p "$$file" "$(distdir)"; \
215         done
216 install-data-hook: $(tocfiles)
217         for i in $(tocfiles); \
218         do \
219                 if test -f "$(srcdir)/$$i"; then file="$(srcdir)/$$i"; \
220                 else file="$$i"; fi; \
221                 $(docDATA_INSTALL) "$$file" "$(DESTDIR)$(docdir)/$$i"; \
222         done
223
224 uninstall-local:
225         for i in $(tocfiles); \
226         do \
227                 $(RM) "$(DESTDIR)$(docdir)/$$i" ; \
228         done
229
230 .PHONY: TOCs