- only build documentation in maintainer-mode, include prebuilt manuals
[apt.git] / doc / Makefile.am
1 dist_man_MANS = apt.8
2 MAINTAINERCLEANFILES =
3 EXTRA_DIST =
4
5 EXTRA_DIST += apt-cache.8.sgml
6 dist_man_MANS += apt-cache.8
7 if COMPILE_MANPAGES
8 apt-cache.8: apt-cache.8.sgml apt.ent
9         (cd $(srcdir) && $(DOCBOOK2MAN) apt-cache.8.sgml)
10         @rm -f $(srcdir)/manpage.*
11 endif
12 MAINTAINERCLEANFILES += apt-cache.8
13
14 EXTRA_DIST += apt-cdrom.8.sgml
15 dist_man_MANS += apt-cdrom.8
16 if COMPILE_MANPAGES
17 apt-cdrom.8: apt-cdrom.8.sgml apt.ent
18         (cd $(srcdir) && $(DOCBOOK2MAN) apt-cdrom.8.sgml)
19         @rm -f $(srcdir)/manpage.*
20 endif
21 MAINTAINERCLEANFILES += apt-cdrom.8
22
23 EXTRA_DIST += apt.conf.5.sgml
24 dist_man_MANS += apt.conf.5
25 if COMPILE_MANPAGES
26 apt.conf.5: apt.conf.5.sgml apt.ent
27         (cd $(srcdir) && $(DOCBOOK2MAN) apt.conf.5.sgml)
28         @rm -f $(srcdir)/manpage.*
29 endif
30 MAINTAINERCLEANFILES += apt.conf.5
31
32 EXTRA_DIST += apt-config.8.sgml
33 dist_man_MANS += apt-config.8
34 if COMPILE_MANPAGES
35 apt-config.8: apt-config.8.sgml apt.ent
36         (cd $(srcdir) && $(DOCBOOK2MAN) apt-config.8.sgml)
37         @rm -f $(srcdir)/manpage.*
38 endif
39 MAINTAINERCLEANFILES += apt-config.8
40
41 EXTRA_DIST += apt-get.8.sgml
42 dist_man_MANS += apt-get.8
43 if COMPILE_MANPAGES
44 apt-get.8: apt-get.8.sgml apt.ent
45         (cd $(srcdir) && $(DOCBOOK2MAN) apt-get.8.sgml)
46         @rm -f $(srcdir)/manpage.*
47 endif
48 MAINTAINERCLEANFILES += apt-get.8
49
50 EXTRA_DIST += apt_preferences.5.sgml
51 dist_man_MANS += apt_preferences.5
52 if COMPILE_MANPAGES
53 apt_preferences.5: apt_preferences.5.sgml apt.ent
54         (cd $(srcdir) && $(DOCBOOK2MAN) apt_preferences.5.sgml)
55         @rm -f $(srcdir)/manpage.*
56 endif
57 MAINTAINERCLEANFILES += apt_preferences.5
58
59 EXTRA_DIST += sources.list.5.sgml
60 dist_man_MANS += sources.list.5
61 if COMPILE_MANPAGES
62 sources.list.5: sources.list.5.sgml apt.ent
63         (cd $(srcdir) && $(DOCBOOK2MAN) sources.list.5.sgml)
64         @rm -f $(srcdir)/manpage.*
65 endif
66 MAINTAINERCLEANFILES += sources.list.5
67
68 EXTRA_DIST += vendors.list.5.sgml
69 dist_man_MANS += vendors.list.5
70 if COMPILE_MANPAGES
71 vendors.list.5: vendors.list.5.sgml apt.ent
72         (cd $(srcdir) && $(DOCBOOK2MAN) vendors.list.5.sgml)
73         @rm -f $(srcdir)/manpage.*
74 endif
75 MAINTAINERCLEANFILES += vendors.list.5
76
77 EXTRA_DIST += \
78                 apt.ent \
79                 style.txt \
80                 cache.sgml \
81                 files.sgml \
82                 guide.sgml \
83                 offline.sgml \
84                 design.sgml \
85                 guide.it.sgml \
86                 method.sgml \
87                 examples/apt.conf \
88                 examples/configure-index \
89                 examples/sources.list \
90                 fr/apt-cache.fr.8.sgml \
91                 fr/apt-cdrom.fr.8.sgml \
92                 fr/apt-config.fr.8.sgml \
93                 fr/apt-extracttemplates.fr.1.sgml \
94                 fr/apt-ftparchive.fr.1.sgml \
95                 fr/apt-get.fr.8.sgml \
96                 fr/apt-sortpkgs.fr.1.sgml \
97                 fr/apt.conf.fr.5.sgml \
98                 fr/apt.ent.fr \
99                 fr/apt_preferences.fr.5.sgml \
100                 fr/makefile \
101                 fr/sources.list.fr.5.sgml \
102                 fr/vendors.list.fr.5.sgml \
103                 es/apt-cache.es.8.sgml \
104                 es/apt-cdrom.es.8.sgml \
105                 es/apt-config.es.8.sgml \
106                 es/apt-get.es.8.sgml \
107                 es/apt.conf.es.5.sgml \
108                 es/apt.ent.es \
109                 es/apt.es.8 \
110                 es/apt_preferences.es.5.sgml \
111                 es/makefile \
112                 es/sources.list.es.5.sgml \
113                 es/vendors.list.es.5.sgml \
114                 pt_BR/apt.ent.pt_BR \
115                 pt_BR/apt_preferences.pt_BR.5.sgml \
116                 pt_BR/makefile