summaryrefslogtreecommitdiff
path: root/docs/faq/Makefile.am
blob: f53c96c5dd76a13c41a8fa1463726dd19588dc9e (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)/Makefile.decl

EXTRA_DIST += 			\
	gtk-faq.sgml

if HAVE_DOCBOOK
html:
	if test -w $(srcdir); then \
	  (cd $(srcdir); \
	   db2html gtk-faq.sgml; \
	   test -d html && rm -r html; \
	   mv gtk-faq html); \
	fi

pdf:
	if test -w $(srcdir); then \
	  (cd $(srcdir); db2pdf gtk-faq.sgml); \
	fi

all-local: html

dist-hook: html
	cp -Rp $(srcdir)/html $(distdir)
else
html:
	echo "***"
	echo "*** Warning: FAQ not built"
	echo "***"

pdf:
	echo "***"
	echo "*** Warning: FAQ not built"
	echo "***"

dist-hook:
	echo "***"
	echo "*** Warning: FAQ not built"
	echo "*** DISTRIBUTION IS INCOMPLETE"
	echo "***"
endif

.PHONY: html

-include $(top_srcdir)/git.mk