[l10n] Updated Catalan (Valencian) translation
[platform/upstream/atk.git] / docs / Makefile.am
index 7a728a8..21ab956 100644 (file)
@@ -1,40 +1,46 @@
 ## Process this file with automake to produce Makefile.in
 
 # The name of the module.
-DOC_MODULE=atk
+DOC_MODULE = atk
 
 # The top-level SGML file.
-DOC_MAIN_SGML_FILE=atk-docs.sgml
+DOC_MAIN_SGML_FILE = atk-docs.xml
 
-# The directory containing the source code (if it contains documentation).
-DOC_SOURCE_DIR=../atk
+# Extra options to supply to gtkdoc-scan
+SCAN_OPTIONS = --deprecated-guards=ATK_DISABLE_DEPRECATED
 
+# The directory containing the source code (if it contains documentation).
+DOC_SOURCE_DIR = $(top_srcdir)/atk $(top_builddir)/atk
 
-TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
+# Used for dependencies
+HFILE_GLOB = $(top_srcdir)/atk/*.h
+CFILE_GLOB = $(top_srcdir)/atk/*.c
 
-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"
+# Header files to ignore when scanning
+IGNORE_HFILES =        \
+       atkmarshal.h \
+       atkintl.h
 
-templates: scan
-       gtkdoc-mktmpl --module=$(DOC_MODULE)
+# CFLAGS and LDFLAGS for compiling scan program. Only needed
+# if $(DOC_MODULE).types is non-empty.
+AM_CPPFLAGS =                  \
+       -I$(top_srcdir)         \
+       -I$(top_builddir)       \
+       -DATK_DISABLE_DEPRECATION_WARNINGS \
+       $(DEP_CFLAGS)
 
-sgml:
-       gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR)
+GTKDOC_LIBS = \
+       $(top_builddir)/atk/libatk-$(ATK_API_VERSION).la \
+       $(DEP_LIBS)
 
-html:
-       if test ! -d html ; then mkdir html ; fi
-       -cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
+# gtkdoc-mkdb related varaibles
+MKDB_OPTIONS =
 
-clean-local:
-       rm -f *~ *.bak *.hierarchy *.signals *.args *-unused.txt
+content_files =
 
-maintainer-clean-local: clean-local
-       rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt 
+HTML_IMAGES =
 
-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)
+include $(top_srcdir)/gtk-doc.make
 
-.PHONY : html sgml templates scan
+# Other files to distribute
+#EXTRA_DIST +=