- use automake defined pkgdata dir for lua script dir instead of hardcoded
[apt.git] / doc / Makefile.am
1 all-local: docs
2 clean-local: clean-docs
3
4 STATIC_MANPAGES = \
5                 apt.8
6 SGML_MANPAGES = \
7                 apt-get.8 \
8                 apt-cache.8 \
9                 apt-cdrom.8 \
10                 apt-config.8 \
11                 apt.conf.5 \
12                 sources.list.5 \
13                 vendors.list.5 \
14                 apt_preferences.5
15
16
17 EXTRA_DIST = \
18                 $(STATIC_MANPAGES) \
19                 $(patsubst %,%.sgml, \
20                 $(SGML_MANPAGES)) \
21                 apt.ent \
22                 style.txt \
23                 cache.sgml \
24                 files.sgml \
25                 guide.sgml \
26                 offline.sgml \
27                 design.sgml \
28                 guide.it.sgml \
29                 method.sgml \
30                 examples/apt.conf \
31                 examples/configure-index \
32                 examples/sources.list \
33                 fr/apt-cache.fr.8.sgml \
34                 fr/apt-cdrom.fr.8.sgml \
35                 fr/apt-config.fr.8.sgml \
36                 fr/apt-extracttemplates.fr.1.sgml \
37                 fr/apt-ftparchive.fr.1.sgml \
38                 fr/apt-get.fr.8.sgml \
39                 fr/apt-sortpkgs.fr.1.sgml \
40                 fr/apt.conf.fr.5.sgml \
41                 fr/apt.ent.fr \
42                 fr/apt_preferences.fr.5.sgml \
43                 fr/makefile \
44                 fr/sources.list.fr.5.sgml \
45                 fr/vendors.list.fr.5.sgml \
46                 es/apt-cache.es.8.sgml \
47                 es/apt-cdrom.es.8.sgml \
48                 es/apt-config.es.8.sgml \
49                 es/apt-get.es.8.sgml \
50                 es/apt.conf.es.5.sgml \
51                 es/apt.ent.es \
52                 es/apt.es.8 \
53                 es/apt_preferences.es.5.sgml \
54                 es/makefile \
55                 es/sources.list.es.5.sgml \
56                 es/vendors.list.es.5.sgml \
57                 pt_BR/apt.ent.pt_BR \
58                 pt_BR/apt_preferences.pt_BR.5.sgml \
59                 pt_BR/makefile
60
61 CLEANFILES = manpage.links manpage.refs
62
63 if COMPILE_MANPAGES
64 man_MANS = $(STATIC_MANPAGES) $(SGML_MANPAGES)
65
66 docs: $(man_MANS)
67
68 %: %.sgml apt.ent
69         @echo Creating man page $@
70         @$(DOCBOOK2MAN) $<
71 else
72 docs:
73 endif
74
75 clean-docs:
76         rm -f $(SGML_MANPAGES)
77