summaryrefslogtreecommitdiff
path: root/docs/tutorial/Makefile.am
blob: 488e09da369b218867f27064e815aa732d4e37e7 (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
71
72
73
74
75
76
77
78
include $(top_srcdir)/Makefile.decl

.PHONY: html pdf

EXTRA_DIST += \
	gtk-tut.sgml			\
	images/arrow.png		\
	images/aspectframe.png		\
	images/base.png			\
	images/buttonbox.png		\
	images/buttons.png		\
	images/calendar.png		\
	images/colorsel.png		\
	images/entry.png		\
	images/eventbox.png		\
	images/filesel.png		\
	images/fixed.png		\
	images/frame.png		\
	images/gtkdial.png		\
	images/helloworld.png		\
	images/helloworld2.png		\
	images/label.png		\
	images/menu.png			\
	images/notebook.png		\
	images/packbox1.png		\
	images/packbox2.png		\
	images/paned.png		\
	images/progressbar.png		\
	images/radiobuttons.png		\
	images/rangewidgets.png		\
	images/rulers.png		\
	images/scribble.png		\
	images/scrolledwin.png		\
	images/spinbutton.png		\
	images/statusbar.png		\
	images/table.png		\
	images/tictactoe.png

if HAVE_DOCBOOK
html: gtk-tut.sgml
	if test -w $(srcdir); then \
	  (cd $(srcdir); \
	   db2html gtk-tut.sgml; \
	   test -d html && rm -r html; \
	   mv gtk-tut html; \
	   mkdir html/images; \
	   cp images/*.png html/images); \
	fi

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

all-local: html

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

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

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


-include $(top_srcdir)/git.mk