gtk/docs/tutorial/Makefile.am
Owen Taylor 629a0e1424 Patch from James Henstridge to update to automake-1.7 (#109542)
Tue May  6 16:50:52 2003  Owen Taylor  <otaylor@redhat.com>

        Patch from James Henstridge to update to automake-1.7
        (#109542)

        * autogen.sh: update to call newer tools.

        * configure.in: various updates, to use M4 macros to put
        variables that change each release at the top.
        Use AC_HELP_STRING to format help strings.
        Use AC_CONFIG_COMMANDS to generate gdkconfig.h.

        * Makefile.am: require Automake 1.7.  Remove gdk-2.0.pc and
        gtk+-2.0.pc on uninstall.  Pass --enable-gtk-doc to configure
        during distcheck.

        * docs/reference/*/Makefile.am: simplify to use the gtk-doc.make
        makefile fragment.

        * */Makefile.am: don't use STRIP_BEGIN/STRIP_END.
        Use BUILT_SOURCES where appropriate.
        Build generated files in builddir rather than srcdir.
        Fix uninstall and distclean targets to satisfy distcheck.

        ===

        * gdk/*/Makefile.am: Remove the hacks to get gdkenumtypes.h
        built first, since we are now using BUILT_SOURCES.

        * gdk/Makefile.am: Remove an outdated comment about gdk_headers.

        * demos/gtk-demo/Makefile.am: Fix srcdir != buildd problem
        with geninclude.pl.

        * configure.in: Update versions to 2.3.0.
2003-05-06 21:55:41 +00:00

73 lines
1.4 KiB
Makefile

.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:
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:
if test -w $(srcdir); then \
(cd $(srcdir); db2pdf gtk-tut.sgml); \
fi
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