]>
Commit | Line | Data |
---|---|---|
1 | # -*- make -*- | |
2 | BASE=../.. | |
3 | SUBDIR=doc/fr | |
4 | ||
5 | # Bring in the default rules | |
6 | include ../../buildlib/defaults.mak | |
7 | ||
8 | # Do not use XMLTO, build the manpages directly with XSLTPROC | |
9 | XSLTPROC=/usr/bin/xsltproc | |
10 | STYLESHEET=./style.fr.xsl | |
11 | ||
12 | ||
13 | # Man pages | |
14 | SOURCE = apt-cache.fr.8 apt-get.fr.8 apt-cdrom.fr.8 apt.conf.fr.5 \ | |
15 | sources.list.fr.5 apt-config.fr.8 apt-sortpkgs.fr.1 \ | |
16 | apt-ftparchive.fr.1 apt_preferences.fr.5 apt-extracttemplates.fr.1 \ | |
17 | apt-key.fr.8 apt-secure.fr.8 | |
18 | ||
19 | INCLUDES = apt.ent.fr | |
20 | ||
21 | doc: $(SOURCE) | |
22 | ||
23 | $(SOURCE) :: % : %.xml $(INCLUDES) | |
24 | echo Creating man page $@ | |
25 | $(XSLTPROC) -o $@ $(STYLESHEET) $< | |
26 | ||
27 | apt-cache.fr.8:: apt-cache.8 | |
28 | cp $< $@ | |
29 | ||
30 | apt-get.fr.8:: apt-get.8 | |
31 | cp $< $@ | |
32 | ||
33 | apt-cdrom.fr.8:: apt-cdrom.8 | |
34 | cp $< $@ | |
35 | ||
36 | apt.conf.fr.5:: apt.conf.5 | |
37 | cp $< $@ | |
38 | ||
39 | apt-config.fr.8:: apt-config.8 | |
40 | cp $< $@ | |
41 | ||
42 | sources.list.fr.5:: sources.list.5 | |
43 | cp $< $@ | |
44 | ||
45 | apt-sortpkgs.fr.1:: apt-sortpkgs.1 | |
46 | cp $< $@ | |
47 | ||
48 | apt-ftparchive.fr.1:: apt-ftparchive.1 | |
49 | cp $< $@ | |
50 | ||
51 | apt_preferences.fr.5:: apt_preferences.5 | |
52 | cp $< $@ | |
53 | ||
54 | apt-extracttemplates.fr.1:: apt-extracttemplates.1 | |
55 | cp $< $@ | |
56 | ||
57 | apt-key.fr.8:: apt-key.8 | |
58 | cp $< $@ | |
59 | ||
60 | apt-secure.fr.8:: apt-secure.8 | |
61 | cp $< $@ | |
62 | ||
63 |