blob: 6eb8b91a2f97577c7d58b70052a20406e287d1b8 (
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
|
include $(top_srcdir)/misc/Makefile.common
hackersguide_sgml = hackersguide.sgml \
intro.sgml \
library.sgml \
overview.sgml \
internals.sgml \
stream.sgml \
output.sgml
docs_DATA = $(srcdir)/hackersguide.html \
architecture.png library.png overlays.png post_frame.png
EXTRA_DIST = README $(hackersguide_sgml) \
architecture.fig library.fig overlays.fig post_frame.fig
docsdir = $(prefix)/share/doc/xine/hackersguide
docs: $(docs_DATA)
dist-hook:
@touch $(addprefix $(srcdir)/, $(EXTRA_DIST))
@make fail_if_missing=yes docs
cp $(docs_DATA) $(distdir)
hackersguide.html: $(addprefix $(srcdir)/, $(hackersguide_sgml))
@if test "$(SGMLTOOLS)" != "no"; then \
$(SGMLTOOLS) -b onehtml $(srcdir)/hackersguide.sgml; \
else if test "$(fail_if_missing)" = "yes"; then \
echo "Please install sgmltools-lite."; \
exit 1; \
else touch hackersguide.html; \
fi; \
fi
%.png: $(srcdir)/%.fig
@if test "$(FIG2DEV)" != "no"; then \
$(FIG2DEV) -L png -S 4 $< $@; \
else if test "$(fail_if_missing)" = "yes"; then \
echo "Please install fig2dev."; \
exit 1; \
else touch $@; \
fi; \
fi
|