blob: ec12c89f9e6e33dadbe2f14c2d73a6ee644cb3d2 (
plain)
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
|
include $(top_srcdir)/misc/Makefile.common
hackersguide_docbook = hackersguide.docbook \
intro.docbook \
library.docbook \
overview.docbook \
internals.docbook \
stream.docbook \
output.docbook
hackersguide_svg = architecture.svg \
library.svg \
overlays.svg \
post_frame.svg
hackersguidedir = $(htmldir)/hackersguide
hackersguide_DATA = hackersguide.html \
architecture.png library.png overlays.png post_frame.png
EXTRA_DIST = README $(hackersguide_docbook) $(hackersguide_svg) \
$(hackersguide_DATA)
DISTCLEANFILES = $(hackersguide_DATA)
SUFFIXES = .png .fig
docs: $(hackersguide_DATA)
clean-docs:
rm -f $(hackersguide_DATA)
dist-hook:
@if test x"$(distcheck_lax)" = x ; then \
$(MAKE) fail_if_missing=yes docs ; \
else \
$(MAKE) docs ; \
fi
distclean-local: clean-docs
if HAVE_XMLTO
hackersguide.html: $(hackersguide_docbook)
xmlto html-nochunks "$(srcdir)/hackersguide.docbook"
else
hackersguide.html: $(hackersguide_docbook)
if test x"$(fail_if_missing)" = x"yes"; then \
echo "Please install xmlto."; \
exit 1; \
fi
if test x"$(fail_if_missing)" != x"yes"; then \
touch $@; \
sleep 1; \
touch $^; \
fi
endif
if HAVE_RSVG
.svg.png:
rsvg -f png $^ $@
else
.svg.png:
if test x"$(fail_if_missing)" = x"yes"; then \
echo "Please install rsvg."; \
exit 1; \
fi
if test x"$(fail_if_missing)" != x"yes"; then \
touch $@; \
sleep 1; \
touch $^; \
fi
endif
|