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