summaryrefslogtreecommitdiff
path: root/docs/tutorial/Makefile.am
blob: 13e713d7e1b2585855c6a64c334472d72eaaf728 (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
.PHONY: html

EXTRA_DIST = gmime-tut.sgml

html:
if HAVE_DOCBOOK
	if test -w $(srcdir); then \
	  (cd $(srcdir); \
	   $(DB2HTML) -o html gmime-tut.sgml); \
	fi
else
	echo "***"
	echo "*** Warning: Tutorial not built"
	echo "***"
endif

dist-hook: html
if HAVE_DOCBOOK
	cp -Rp $(srcdir)/html $(distdir)
else
	echo "*** DISTRIBUTION IS INCOMPLETE"
	echo "***"
endif