]> Pileus Git - ~andy/gtk/blobdiff - docs/reference/gtk/Makefile.am
Make 3.0 parallel-installable to 2.x
[~andy/gtk] / docs / reference / gtk / Makefile.am
index 6396ea7e60251143e4026f681a6a71eaf6c19ea9..93b66fce8328dfff28252fad68a83e83cfb8bdf0 100644 (file)
@@ -1,4 +1,5 @@
 ## Process this file with automake to produce Makefile.in
+include $(top_srcdir)/Makefile.decl
 
 AUTOMAKE_OPTIONS = 1.6
 
@@ -9,10 +10,7 @@ DOC_MODULE=gtk
 DOC_MAIN_SGML_FILE=gtk-docs.sgml
 
 # Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED" 
-
-# Extra options to pass to gtkdoc-scangobj
-SCANGOBJ_OPTIONS=--type-init-func="gtk_type_init(0)" 
+SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED"
 
 # The directory containing the source code. Relative to $(srcdir)
 DOC_SOURCE_DIR=../../../gtk
@@ -27,34 +25,52 @@ IGNORE_HFILES=                              \
        fnmatch.h                       \
        gdk-pixbuf-loader.h             \
        gtkdebug.h                      \
+       gtkbuilderprivate.h             \
        gtkdndcursors.h                 \
        gtkentryprivate.h               \
        gtkfilechooserdefault.h         \
        gtkfilechooserembed.h           \
        gtkfilechooserentry.h           \
        gtkfilechooserprivate.h         \
+       gtkfilechoosersettings.h        \
        gtkfilechooserutils.h           \
        gtkfilesystem.h                 \
        gtkfilesystemmodel.h            \
        gtkfilesystemunix.h             \
        gtkfilesystemwin32.h            \
-       gtkhsv.h                        \
        gtkiconcache.h                  \
+        gtkiconcachevalidator.h         \
        gtkiconthemeparser.h            \
-       gtkimmodule.h                   \
        gtkintl.h                       \
        gtkkeyhash.h                    \
        gtkmarshal.h                    \
        gtkmnemonichash.h               \
        gtkpathbar.h                    \
        gtkplugprivate.h                \
+       gtkprintbackend.h               \
+       gtkprinteroption.h              \
+       gtkprinteroptionset.h           \
+       gtkprinteroptionwidget.h        \
+       gtkprinter-private.h            \
+       gtkprint-win32.h                \
+       gtkprintutils.h                 \
+       gtkprintoperation-private.h     \
        gtkprivate.h                    \
+       gtkquery.h                      \
        gtkrbtree.h                     \
+       gtkrecentchooserdefault.h       \
+       gtkrecentchooserutils.h         \
+       gtkrecentchooserprivate.h       \
+       gtksearchengine.h               \
+       gtksearchenginebeagle.h         \
+       gtksearchenginetracker.h        \
+       gtksearchenginesimple.h         \
+       gtksearchenginequartz.h         \
        gtksequence.h                   \
        gtksocketprivate.h              \
-       gtktreedatalist.h               \
-       gtktreeprivate.h                \
        gtktextbtree.h                  \
+       gtktextbufferserializ.h         \
+       gtktextchildprivate.h           \
        gtktextdisplay.h                \
        gtktextiterprivate.h            \
        gtktextlayout.h                 \
@@ -63,10 +79,17 @@ IGNORE_HFILES=                              \
        gtktexttagprivate.h             \
        gtktexttypes.h                  \
        gtktextutil.h                   \
+       gtkthemes.h                     \
        gtktoggleactionprivate.h        \
+       gtktrayicon.h                   \
+       gtktreedatalist.h               \
+       gtktreeprivate.h                \
+       gtktoolpaletteprivate.h         \
        gtktypebuiltins.h               \
        gtkxembed.h                     \
        gtkwin32embed.h                 \
+       gtkwin32embedwidget.h           \
+       gtkwindow-decorate.h            \
        xdgmime                         \
        xembed.h
 
@@ -80,6 +103,9 @@ INCLUDES = \
        $(GTK_DEBUG_FLAGS)      \
        $(GTK_DEP_CFLAGS)
 
+CPPFLAGS += \
+       -UGTK_DISABLE_SINGLE_INCLUDES
+
 GTKDOC_LIBS = \
        $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la  \
        $(top_builddir)/gdk/$(gdktargetlib)                             \
@@ -87,7 +113,7 @@ GTKDOC_LIBS = \
 
 
 # Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS=--sgml-mode --output-format=xml
+MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=gtk
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
 content_files =                                        \
@@ -98,18 +124,23 @@ content_files =                                    \
        changes-2.0.sgml                        \
        compiling.sgml                          \
        directfb.sgml                           \
-       framebuffer.sgml                        \
+       drawing-model.xml                       \
        glossary.xml                            \
        migrating-checklist.sgml                \
+        migrating-ClientSideWindows.sgml       \
+       migrating-GtkAboutDialog.sgml           \
        migrating-GtkAction.sgml                \
+       migrating-GtkAssistant.sgml             \
+       migrating-GtkBuilder.sgml               \
+       migrating-GtkColorButton.sgml           \
        migrating-GtkComboBox.sgml              \
+       migrating-GtkEntry-icons.sgml           \
        migrating-GtkFileChooser.sgml           \
        migrating-GtkIconView.sgml              \
-       migrating-GtkAboutDialog.sgml           \
-       migrating-GtkColorButton.sgml           \
-       migrating-GtkAssistant.sgml             \
-       migrating-GtkRecentChooser.sgml         \
+       migrating-GtkLabel-links.sgml           \
        migrating-GtkLinkButton.sgml            \
+       migrating-GtkRecentChooser.sgml         \
+        migrating-GtkTooltip.sgml              \
        objects_grouped.sgml                    \
        osx.sgml                                \
        question_index.sgml                     \
@@ -118,22 +149,29 @@ content_files =                                   \
        tree_widget.sgml                        \
        windows.sgml                            \
        x11.sgml                                \
-       gtk-query-immodules-2.0.xml             \
-       gtk-update-icon-cache.xml               \
+       gtk-query-immodules-3.0.xml             \
+       gtk-update-icon-cache-3.0.xml           \
+       gtk-builder-convert-3.0.xml             \
        visual_index.xml
 
 expand_content_files =                                 \
+       drawing-model.xml                       \
        glossary.xml                            \
        migrating-checklist.sgml                \
+        migrating-ClientSideWindows.sgml       \
        migrating-GtkAction.sgml                \
        migrating-GtkComboBox.sgml              \
+       migrating-GtkEntry-icons.sgml           \
        migrating-GtkFileChooser.sgml           \
        migrating-GtkIconView.sgml              \
        migrating-GtkAboutDialog.sgml           \
        migrating-GtkColorButton.sgml           \
        migrating-GtkAssistant.sgml             \
        migrating-GtkRecentChooser.sgml         \
+       migrating-GtkLabel-links.sgml           \
        migrating-GtkLinkButton.sgml            \
+       migrating-GtkBuilder.sgml               \
+       migrating-GtkTooltip.sgml               \
        tree_widget.sgml                        \
        text_widget.sgml                        \
        question_index.sgml
@@ -145,6 +183,7 @@ HTML_IMAGES = \
        $(top_srcdir)/gtk/stock-icons/20/gtk-apply.png                  \
        $(top_srcdir)/gtk/stock-icons/24/gtk-bold.png                   \
        $(top_srcdir)/gtk/stock-icons/20/gtk-cancel.png                 \
+       $(top_srcdir)/gtk/stock-icons/24/gtk-caps-lock-warning.png      \
        $(top_srcdir)/gtk/stock-icons/24/gtk-cdrom.png                  \
        $(top_srcdir)/gtk/stock-icons/24/gtk-clear.png                  \
        $(top_srcdir)/gtk/stock-icons/24/gtk-close.png                  \
@@ -200,10 +239,18 @@ HTML_IMAGES = \
        $(top_srcdir)/gtk/stock-icons/20/gtk-no.png                     \
        $(top_srcdir)/gtk/stock-icons/20/gtk-ok.png                     \
        $(top_srcdir)/gtk/stock-icons/24/gtk-open.png                   \
+       $(top_srcdir)/gtk/stock-icons/24/gtk-orientation-landscape.png  \
+       $(top_srcdir)/gtk/stock-icons/24/gtk-orientation-portrait.png   \
+       $(top_srcdir)/gtk/stock-icons/24/gtk-orientation-reverse-landscape.png \
+       $(top_srcdir)/gtk/stock-icons/24/gtk-orientation-reverse-portrait.png \
        $(top_srcdir)/gtk/stock-icons/24/gtk-paste.png                  \
        $(top_srcdir)/gtk/stock-icons/24/gtk-preferences.png            \
        $(top_srcdir)/gtk/stock-icons/24/gtk-print.png                  \
+       $(top_srcdir)/gtk/stock-icons/24/gtk-print-error.png            \
+       $(top_srcdir)/gtk/stock-icons/24/gtk-print-paused.png           \
        $(top_srcdir)/gtk/stock-icons/24/gtk-print-preview.png          \
+       $(top_srcdir)/gtk/stock-icons/24/gtk-print-report.png           \
+       $(top_srcdir)/gtk/stock-icons/24/gtk-print-warning.png          \
        $(top_srcdir)/gtk/stock-icons/24/gtk-properties.png             \
        $(top_srcdir)/gtk/stock-icons/24/gtk-quit.png                   \
        $(top_srcdir)/gtk/stock-icons/24/gtk-redo-ltr.png               \
@@ -250,6 +297,7 @@ HTML_IMAGES = \
        $(top_srcdir)/gtk/stock-icons/24/gtk-fullscreen.png             \
        $(top_srcdir)/gtk/stock-icons/24/gtk-leave-fullscreen.png       \
        $(top_srcdir)/gtk/stock-icons/24/gtk-info.png                   \
+       $(srcdir)/images/aboutdialog.png                                \
        $(srcdir)/images/accel-label.png                                \
        $(srcdir)/images/assistant.png                                  \
        $(srcdir)/images/button.png                                     \
@@ -259,6 +307,8 @@ HTML_IMAGES = \
        $(srcdir)/images/combo-box.png                                  \
        $(srcdir)/images/combo-box-entry.png                            \
        $(srcdir)/images/entry.png                                      \
+       $(srcdir)/images/figure-hierarchical-drawing.png                \
+       $(srcdir)/images/figure-windowed-label.png                      \
        $(srcdir)/images/file-button.png                                \
        $(srcdir)/images/filechooser.png                                \
        $(srcdir)/images/font-button.png                                \
@@ -274,19 +324,39 @@ HTML_IMAGES = \
        $(srcdir)/images/multiline-text.png                             \
        $(srcdir)/images/notebook.png                                   \
        $(srcdir)/images/panes.png                                      \
+       $(srcdir)/images/pagesetupdialog.png                            \
+       $(srcdir)/images/printdialog.png                                \
        $(srcdir)/images/progressbar.png                                \
        $(srcdir)/images/radio-group.png                                \
+       $(srcdir)/images/recentchooserdialog.png                        \
        $(srcdir)/images/scales.png                                     \
        $(srcdir)/images/scrolledwindow.png                             \
        $(srcdir)/images/separator.png                                  \
        $(srcdir)/images/spinbutton.png                                 \
+       $(srcdir)/images/spinner.png                                    \
        $(srcdir)/images/statusbar.png                                  \
        $(srcdir)/images/toggle-button.png                              \
        $(srcdir)/images/toolbar.png                                    \
-       $(srcdir)/images/window.png
+       $(srcdir)/images/toolpalette.png                                \
+       $(srcdir)/images/tree-view-coordinates.png                      \
+       $(srcdir)/images/volumebutton.png                               \
+       $(srcdir)/images/window.png                                     \
+       $(srcdir)/images/layout-btlr.png                                \
+       $(srcdir)/images/layout-btrl.png                                \
+       $(srcdir)/images/layout-lrbt.png                                \
+       $(srcdir)/images/layout-lrtb.png                                \
+       $(srcdir)/images/layout-rlbt.png                                \
+       $(srcdir)/images/layout-rltb.png                                \
+       $(srcdir)/images/layout-tblr.png                                \
+       $(srcdir)/images/layout-tbrl.png
 
 # Extra options to supply to gtkdoc-fixref
-FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
+FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html \
+       --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
+       --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
+       --extra-dir=$(ATK_PREFIX)/share/gtk-doc/html/atk \
+       --extra-dir=$(PANGO_PREFIX)/share/gtk-doc/html/pango \
+       --extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo
 
 include $(top_srcdir)/gtk-doc.make
 
@@ -295,19 +365,24 @@ EXTRA_DIST += version.xml.in
 
 ########################################################################
 
-man_MANS = gtk-query-immodules-2.0.1 gtk-update-icon-cache.1 
-
 if ENABLE_MAN
 
-%.1 : %.xml 
-       @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+man_MANS =                             \
+       gtk-query-immodules-3.0.1       \
+       gtk-update-icon-cache-3.0.1     \
+       gtk-builder-convert-3.0.1
 
-endif
+%.1 : %.xml
+       @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
 
 BUILT_EXTRA_DIST = $(man_MANS)
 
+endif
+
 dist-hook-local: $(BUILT_EXTRA_DIST)
        files='$(BUILT_EXTRA_DIST)';                            \
        for f in $$files; do                                    \
          if test -f $$f; then d=.; else d=$(srcdir); fi;       \
          cp $$d/$$f $(distdir) || exit 1; done
+
+-include $(top_srcdir)/git.mk