File: Makefile.in

package info (click to toggle)
libxmlada1 1.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,704 kB
  • ctags: 94
  • sloc: ada: 22,582; sh: 1,804; makefile: 142; xml: 140; perl: 128
file content (73 lines) | stat: -rw-r--r-- 1,678 bytes parent folder | download
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
64
65
66
67
68
69
70
71
72
73

FORMATS=${addprefix xml.,ps html info txt}

DVIPS= @DVIPS@
MAKEINFO= @MAKEINFO@
TEXI2HTML= @TEXI2HTML@
TEX= @TEX@

all: ${FORMATS} clean

%.dvi: %.texi
ifneq (${TEX},)
	echo x | ${TEX} $<
	texindex ${<:%.texi=%.cp}
	echo x | ${TEX} $<
else
	@echo "---------------------------------------------------"
	@echo "tex not found, cannot build DVI or PS documentation"
	@echo "---------------------------------------------------"
endif

%.ps: %.dvi
ifneq (${DVIPS},)
	dvips -o $@ $<
else
	@echo "------------------------------------------------------"
	@echo "dvips not found, cannot build POSTSCRIPT documentation"
	@echo "------------------------------------------------------"
endif

%.html: %.texi
ifneq (${TEXI2HTML},)
	${TEXI2HTML} -menu -split_chapter -number $<
else
	@echo "----------------------------------------------------"
	@echo "texi2html not found, cannot build HTML documentation"
	@echo "----------------------------------------------------"
endif

%.info: %.texi
ifneq (${MAKEINFO},)
	${MAKEINFO} $<
else
	@echo "---------------------------------------------------"
	@echo "makeinfo not found, cannot build INFO documentation"
	@echo "---------------------------------------------------"
endif

%.txt: %.texi
ifneq (${MAKEINFO},)
	${MAKEINFO} -o $@ --number-sections $<
else
	@echo "---------------------------------------------------"
	@echo "makeinfo not found, cannot build TEXT documentation"
	@echo "---------------------------------------------------"
endif

clean: force
	@${RM} *.cp
	@${RM} *.aux
	@${RM} *.cps
	@${RM} *.fn
	@${RM} *.ky
	@${RM} *.log
	@${RM} *.pg
	@${RM} *.toc
	@${RM} *.tp
	@${RM} *.vr

clean_all: clean
	@${RM} ${FORMATS} *.html

force: