]> Pileus Git - ~andy/gtk/blob - docs/tutorial/Makefile.am
Patch from James Henstridge to update to automake-1.7 (#109542)
[~andy/gtk] / docs / tutorial / Makefile.am
1 .PHONY: html pdf
2
3 EXTRA_DIST = \
4         gtk-tut.sgml                    \
5         images/arrow.png                \
6         images/aspectframe.png          \
7         images/base.png                 \
8         images/buttonbox.png            \
9         images/buttons.png              \
10         images/calendar.png             \
11         images/colorsel.png             \
12         images/entry.png                \
13         images/eventbox.png             \
14         images/filesel.png              \
15         images/fixed.png                \
16         images/frame.png                \
17         images/gtkdial.png              \
18         images/helloworld.png           \
19         images/helloworld2.png          \
20         images/label.png                \
21         images/menu.png                 \
22         images/notebook.png             \
23         images/packbox1.png             \
24         images/packbox2.png             \
25         images/paned.png                \
26         images/progressbar.png          \
27         images/radiobuttons.png         \
28         images/rangewidgets.png         \
29         images/rulers.png               \
30         images/scribble.png             \
31         images/scrolledwin.png          \
32         images/spinbutton.png           \
33         images/statusbar.png            \
34         images/table.png                \
35         images/tictactoe.png
36
37 if HAVE_DOCBOOK
38 html:
39         if test -w $(srcdir); then \
40           (cd $(srcdir); \
41            db2html gtk-tut.sgml; \
42            test -d html && rm -r html; \
43            mv gtk-tut html; \
44            mkdir html/images; \
45            cp images/*.png html/images); \
46         fi
47
48 pdf:
49         if test -w $(srcdir); then \
50           (cd $(srcdir); db2pdf gtk-tut.sgml); \
51         fi
52
53 dist-hook: html
54         cp -Rp $(srcdir)/html $(distdir)
55 else
56 html:
57         echo "***"
58         echo "*** Warning: Tutorial not built"
59         echo "***"
60
61 pdf:
62         echo "***"
63         echo "*** Warning: Tutorial not built"
64         echo "***"
65
66 dist-hook:
67         echo "***"
68         echo "*** Warning: Tutorial not built"
69         echo "*** DISTRIBUTION IS INCOMPLETE"
70         echo "***"
71 endif
72