Add 11 unused declarations.
[platform/upstream/atk.git] / docs / Makefile.am
index 7a728a8..93265d6 100644 (file)
@@ -1,5 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
+AUTOMAKE_OPTIONS = 1.6
+
 # The name of the module.
 DOC_MODULE=atk
 
@@ -9,32 +11,25 @@ DOC_MAIN_SGML_FILE=atk-docs.sgml
 # The directory containing the source code (if it contains documentation).
 DOC_SOURCE_DIR=../atk
 
+# Used for dependencies
+HFILE_GLOB = $(top_srcdir)/atk/*.h
+CFILE_GLOB = $(top_srcdir)/atk/*.c
 
-TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
-
-scan:
-       gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="libgnomeP.h gnome-i18nP.h gnome-triggersP.h gnome-magic.h vroot.h"
-
-templates: scan
-       gtkdoc-mktmpl --module=$(DOC_MODULE)
-
-sgml:
-       gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR)
-
-html:
-       if test ! -d html ; then mkdir html ; fi
-       -cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
+# Header files to ignore when scanning
+IGNORE_HFILES =        atkmarshal.h atkintl.h
 
-clean-local:
-       rm -f *~ *.bak *.hierarchy *.signals *.args *-unused.txt
+# CFLAGS and LDFLAGS for compiling scan program. Only needed
+# if $(DOC_MODULE).types is non-empty.
+INCLUDES =                     \
+       -I$(top_srcdir)         \
+       -I$(top_builddir)       \
+       $(DEP_CFLAGS)
 
-maintainer-clean-local: clean-local
-       rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt 
+GTKDOC_LIBS = $(top_builddir)/atk/libatk-$(ATK_API_VERSION).la
 
-install-data-local:
-       install -d -m 0755 $(TARGET_DIR)
-       install -m 0644 html/*.html $(TARGET_DIR)
-       install -m 0644 html/index.sgml $(TARGET_DIR)
-       gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)
+# gtkdoc-mkdb related varaibles
+MKDB_OPTIONS =
+content_files =
+HTML_IMAGES =
 
-.PHONY : html sgml templates scan
+include $(top_srcdir)/gtk-doc.make