]> Pileus Git - ~andy/gtk/blob - docs/tutorial/Makefile.am
GTK+-2.0.0 rc1
[~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         (cd $(srcdir); \
40          db2html gtk-tut.sgml; \
41          test -d html && rm -r html; \
42          mv gtk-tut html; \
43          mkdir html/images; \
44          cp images/*.png html/images)
45
46 pdf:
47         (cd $(srcdir); db2pdf gtk-tut.sgml)
48
49 dist-hook: html
50         cp -Rp $(srcdir)/html $(distdir)
51 else
52 html:
53         echo "***"
54         echo "*** Warning: Tutorial not built"
55         echo "***"
56
57 pdf:
58         echo "***"
59         echo "*** Warning: Tutorial not built"
60         echo "***"
61
62 dist-hook:
63         echo "***"
64         echo "*** Warning: Tutorial not built"
65         echo "*** DISTRIBUTION IS INCOMPLETE"
66         echo "***"
67 endif
68