File: makefile

package info (click to toggle)
apt 0.6.46.4-0.1%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 8,112 kB
  • ctags: 3,425
  • sloc: cpp: 29,961; xml: 9,133; sh: 3,027; makefile: 673; perl: 209
file content (63 lines) | stat: -rw-r--r-- 1,148 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# -*- make -*-
BASE=../..
SUBDIR=doc/fr

# Bring in the default rules
include ../../buildlib/defaults.mak

# Do not use XMLTO, build the manpages directly with XSLTPROC
XSLTPROC=/usr/bin/xsltproc
STYLESHEET=./style.fr.xsl


# Man pages
SOURCE = apt-cache.fr.8 apt-get.fr.8 apt-cdrom.fr.8 apt.conf.fr.5 \
         sources.list.fr.5 apt-config.fr.8 apt-sortpkgs.fr.1 \
	 apt-ftparchive.fr.1 apt_preferences.fr.5 apt-extracttemplates.fr.1 \
	 apt-key.fr.8 apt-secure.fr.8

INCLUDES = apt.ent.fr

doc: $(SOURCE) 

$(SOURCE) ::  % : %.xml $(INCLUDES)
	echo Creating man page $@
	$(XSLTPROC) -o $@ $(STYLESHEET) $<

apt-cache.fr.8:: apt-cache.8 
	cp $< $@

apt-get.fr.8:: apt-get.8
	cp $< $@

apt-cdrom.fr.8:: apt-cdrom.8 
	cp $< $@

apt.conf.fr.5:: apt.conf.5 
	cp $< $@

apt-config.fr.8:: apt-config.8 
	cp $< $@

sources.list.fr.5:: sources.list.5
	cp $< $@

apt-sortpkgs.fr.1:: apt-sortpkgs.1
	cp $< $@

apt-ftparchive.fr.1:: apt-ftparchive.1 
	cp $< $@

apt_preferences.fr.5:: apt_preferences.5
	cp $< $@

apt-extracttemplates.fr.1:: apt-extracttemplates.1
	cp $< $@

apt-key.fr.8:: apt-key.8 
	cp $< $@

apt-secure.fr.8:: apt-secure.8 
	cp $< $@