File: Makefile

package info (click to toggle)
linuxdoc-tools 0.9.86-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,312 kB
  • sloc: ansic: 16,247; perl: 3,769; sh: 1,134; makefile: 813; lex: 566; lisp: 309
file content (44 lines) | stat: -rw-r--r-- 971 bytes parent folder | download | duplicates (4)
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


%.txt: %.sgml
	@echo "- Building txt docs" >&2
	$(TMPDIR)/linuxdoc --backend=txt --filter --blanks=1 $<

%.pdf: %.sgml
	@echo "- Building pdf docs" >&2
	$(TMPDIR)/linuxdoc --backend=latex \
			--output=pdf \
			--pass="\usepackage{times}" $<

%.info: %.sgml
	@echo "- Building info docs" >&2
	$(TMPDIR)/linuxdoc --backend=info $<

%.lyx: %.sgml
	@echo "- Building lyx docs" >&2
	$(TMPDIR)/linuxdoc --backend=lyx $<

html/%.html: %.sgml
	@echo "- Building html docs" >&2
	$(TMPDIR)/linuxdoc --imagebuttons --backend=html $<
	mv -f ./guide*.html ./html

rtf/%.rtf: %.sgml
	@echo "- Building rtf docs" >&2
	$(TMPDIR)/linuxdoc --backend=rtf $<
	mkdir -m 755 -p ./rtf
	mv -f ./guide*.rtf ./rtf

%.dvi: %.sgml
	@echo "- Building dvi docs" >&2
	$(TMPDIR)/linuxdoc --backend=latex \
			--output=dvi \
			--pass="\usepackage{times}" $<

%.ps: %.dvi
	@echo "- Building ps docs" >&2
	dvips -t $(DVIPS_PAPER) -o $@ $<

%.ps.gz: %.ps
	@echo "- Building ps.gz docs" >&2
	gzip -fn $<