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