2010-04-22 19:11:53 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
|
|
|
.PHONY: html pdf
|
|
|
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
gtk-tut.sgml \
|
2002-02-25 01:47:44 +00:00
|
|
|
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
|
2010-04-22 19:11:53 +00:00
|
|
|
|
|
|
|
if HAVE_DOCBOOK
|
2010-06-26 01:03:34 +00:00
|
|
|
html: gtk-tut.sgml
|
2010-04-22 19:11:53 +00:00
|
|
|
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
|
|
|
|
|
2010-06-26 01:03:34 +00:00
|
|
|
pdf: gtk-tut.sgml
|
2010-04-22 19:11:53 +00:00
|
|
|
if test -w $(srcdir); then \
|
|
|
|
(cd $(srcdir); db2pdf gtk-tut.sgml); \
|
|
|
|
fi
|
|
|
|
|
2010-06-26 01:03:34 +00:00
|
|
|
all-local: html
|
|
|
|
|
2010-04-22 19:11:53 +00:00
|
|
|
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
|