File: Makefile

package info (click to toggle)
doc-debian-fr 3.1.3.2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,092 kB
  • ctags: 6
  • sloc: xml: 113; makefile: 74
file content (40 lines) | stat: -rw-r--r-- 792 bytes parent folder | download | duplicates (2)
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
# Debian doc-debian-fr Makefile

INSTALL = install -s

.SUFFIXES = .sgml .html .txt

HTML_FILES = debian-fr-howto.html\
	debian-guide_fr-1.0.html\
	internals.html\
	policy.fr.html\
	project-history.fr.html\
	debian-euro-support.fr.html\
	debian-manifesto.fr.html

TXT_FILES =debian-fr-howto.txt\
	debian-guide_fr-1.0.txt\
	internals.txt\
	debian-euro-support.fr.txt\
	policy.fr.txt\
	project-history.fr.txt\
	debian-manifesto.fr.txt

%.html: doc/%.sgml
	debiandoc2html -lfr -c $<
	ln -s index.fr.html $(subst sgml,html, $(notdir $<))/index.html

%.txt: doc/%.sgml
	debiandoc2text -lfr $<

index.html: doc/index.xml doc/index.xsl
	xsltproc doc/index.xsl doc/index.xml >index.html

all: $(HTML_FILES) $(TXT_FILES) index.html

clean:
	rm -rf *.html *.txt *sasp* *~

.PHONY : all clean install