]> git.lyx.org Git - lyx.git/blob - lib/doc/Makefile.am
install LaTeXConfig.lyx.in correctly
[lyx.git] / lib / doc / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 DISTCLEANFILES += LyXConfig.lyx LaTeXConfig.lyx Makefile.depend
4
5 EXTRA_DIST = Depend.pl Doc_toc.pl LyXConfig.lyx.in README.Documentation $(docfiles) $(toc_DATA)
6
7 docfiles = \
8         cs_TOC.lyx \
9         cs_Tutorial.lyx \
10         Customization.lyx \
11         da_Intro.lyx \
12         da_TOC.lyx \
13         de_Customization.lyx \
14         de_Extended.lyx \
15         de_FAQ.lyx \
16         de_Intro.lyx \
17         de_TOC.lyx \
18         de_Tutorial.lyx \
19         de_UserGuide.lyx \
20         DocStyle.lyx \
21         es_Intro.lyx \
22         es_TOC.lyx \
23         es_Tutorial.lyx \
24         eu_Customization.lyx \
25         eu_Extended.lyx \
26         eu_FAQ.lyx \
27         eu_Intro.lyx \
28         eu_TOC.lyx \
29         eu_Tutorial.lyx \
30         eu_UserGuide.lyx \
31         Extended.lyx \
32         FAQ.lyx \
33         fr_Customization.lyx \
34         fr_Extended.lyx \
35         fr_FAQ.lyx \
36         fr_Intro.lyx \
37         fr_TOC.lyx \
38         fr_Tutorial.lyx \
39         fr_UserGuide.lyx \
40         he_Intro.lyx \
41         he_TOC.lyx \
42         he_Tutorial.lyx \
43         hu_Intro.lyx \
44         hu_TOC.lyx \
45         Intro.lyx \
46         it_Customization.lyx \
47         it_Intro.lyx \
48         it_TOC.lyx \
49         it_Tutorial.lyx \
50         it_UserGuide.lyx \
51         LaTeXConfig.lyx.in \
52         nl_Intro.lyx \
53         nl_TOC.lyx \
54         nl_Tutorial.lyx \
55         no_Intro.lyx \
56         no_TOC.lyx \
57         pl_Extended.lyx \
58         pl_Intro.lyx \
59         pl_TOC.lyx \
60         pl_Tutorial.lyx \
61         pt_Intro.lyx \
62         pt_TOC.lyx \
63         pt_Tutorial.lyx \
64         Reference.lyx \
65         ro_Intro.lyx \
66         ro_TOC.lyx \
67         ru_FAQ.lyx \
68         ru_Intro.lyx \
69         ru_TOC.lyx \
70         ru_Tutorial.lyx \
71         sk_TOC.lyx \
72         sk_Tutorial.lyx \
73         sk_UserGuide.lyx \
74         sl_Intro.lyx \
75         sl_TOC.lyx \
76         sl_Tutorial.lyx \
77         sv_Intro.lyx \
78         sv_TOC.lyx \
79         sv_Tutorial.lyx \
80         TOC.lyx \
81         Tutorial.lyx \
82         UserGuide.lyx \
83         escher-lsd.eps \
84         mobius.eps \
85         platypus.eps
86
87 docdir = $(pkgdatadir)/doc
88 doc_DATA = \
89         $(docfiles) \
90         LaTeXConfig.lyx
91
92 tocdir = $(docdir)/TOC_top
93 toc_DATA = \
94         TOC_top/da_TOC_top.lyx \
95         TOC_top/de_TOC_top.lyx \
96         TOC_top/fr_TOC_top.lyx \
97         TOC_top/ru_TOC_top.lyx \
98         TOC_top/sl_TOC_top.lyx \
99         TOC_top/TOC_top.lyx
100
101
102 # TODO can we instead just #include the DEPENDFILE in this Makefile?
103 # problem with this is that the DEPENDFILE that's included won't be the updated
104 # one. JMarc should know how to handle this.
105
106 DEPENDFILE = Makefile.depend
107
108 TOCs : depend
109         make -f $(DEPENDFILE) TOCs
110
111 depend:
112         perl Depend.pl > $(DEPENDFILE)
113
114 .PHONY: depend