blob: 7692541c35a2b5d6c55c5697e40c178b1872eb30 (
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
|
include $(top_srcdir)/misc/Makefile.common
EXTRA_DIST = README faq.sgml
docs_DATA = faq.html faq.txt
docsdir = $(prefix)/share/doc/xine/faq
docs: $(docs_DATA)
dist-hook:
@touch $(addprefix $(srcdir)/, $(EXTRA_DIST))
@make fail_if_missing=yes docs
cp $(addprefix $(srcdir)/, $(docs_DATA)) $(distdir)
faq.html: $(srcdir)/faq.sgml
@if test "$(SGMLTOOLS)" != "no"; then \
$(SGMLTOOLS) -b onehtml $(srcdir)/faq.sgml; \
else if test "$(fail_if_missing)" = "yes"; then \
echo "Please install sgmltools-lite."; \
exit 1; \
else touch faq.html; \
fi; \
fi
faq.txt: $(srcdir)/faq.sgml
@if test "$(SGMLTOOLS)" != "no"; then \
$(SGMLTOOLS) -b txt $(srcdir)/faq.sgml; \
else if test "$(fail_if_missing)" = "yes"; then \
echo "Please install sgmltools-lite."; \
exit 1; \
else touch faq.txt; \
fi; \
fi
|