Moved to updated gettext and did some tweaking for make distcheck
[projects/chimara/chimara.git] / docs / reference / Makefile.am
index 4e05bb91a6fda3f6eafac8d7ed40316a1d3406b8..77789f74f24a6581d5f66f50a06651a88f0de786 100644 (file)
@@ -16,7 +16,7 @@ DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
 # The directory containing the source code. Relative to $(srcdir).
 # gtk-doc will search all .c & .h files beneath here for inline comments
 # documenting the functions and macros.
-DOC_SOURCE_DIR = ../../src
+DOC_SOURCE_DIR = ../../libchimara
 
 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
 SCANGOBJ_OPTIONS = 
@@ -39,19 +39,38 @@ MKHTML_OPTIONS =
 FIXXREF_OPTIONS = 
 
 # Used for dependencies. The docs will be rebuilt if any of these change.
-HFILE_GLOB = $(top_srcdir)/src/*.h
-CFILE_GLOB = $(top_srcdir)/src/*.c
+HFILE_GLOB = $(top_srcdir)/libchimara/*.h
+CFILE_GLOB = $(top_srcdir)/libchimara/*.c
 
 # Extra headers to include when scanning, which are not under DOC_SOURCE_DIR
 EXTRA_HFILES = 
 
 # Header files to ignore when scanning. Use base file name, no paths
 IGNORE_HFILES = chimara-glk-private.h \
-       abort.h charset.h event.h input.h stream.h window.h \
-       callbacks.h error.h
+       abort.h charset.h event.h input.h stream.h window.h
 
 # Images to copy into HTML directory.
-HTML_IMAGES = 
+HTML_IMAGES = \
+       $(srcdir)/images/fig1.png \
+       $(srcdir)/images/fig2.png \
+       $(srcdir)/images/fig3a.png \
+       $(srcdir)/images/fig3b.png \
+       $(srcdir)/images/fig3c.png \
+       $(srcdir)/images/fig4a.png \
+       $(srcdir)/images/fig4b.png \
+       $(srcdir)/images/fig4c.png \
+       $(srcdir)/images/fig5-7a.png \
+       $(srcdir)/images/fig6.png \
+       $(srcdir)/images/fig7b.png \
+       $(srcdir)/images/fig7c.png \
+       $(srcdir)/images/fig7d.png \
+       $(srcdir)/images/fig7e.png \
+       $(srcdir)/images/fig8a.png \
+       $(srcdir)/images/fig8b.png \
+       $(srcdir)/images/fig8c.png \
+       $(srcdir)/images/fig9.png \
+       $(srcdir)/images/fig10.png \
+       $(srcdir)/images/fig11.png
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
 content_files = version.xml \
@@ -82,7 +101,7 @@ expand_content_files = \
 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
 # signals and properties.
 GTKDOC_CFLAGS = -I$(top_srcdir) $(CHIMARA_CFLAGS)
-GTKDOC_LIBS =  $(top_builddir)/src/libchimara.la
+GTKDOC_LIBS =  $(top_builddir)/libchimara/libchimara.la
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 include $(top_srcdir)/gtk-doc.make
@@ -93,9 +112,10 @@ EXTRA_DIST += version.xml.in
 # Files not to distribute
 # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
 # for --rebuild-sections in $(SCAN_OPTIONS), e.g. $(DOC_MODULE)-sections.txt
-# DISTCLEANFILES +=
+DISTCLEANFILES = $(DOC_MODULE)-overrides.txt
 
 # Comment this out if you want your docs-status tested during 'make check'
-# TESTS_ENVIRONMENT = cd $(srcsrc)
-# TESTS = $(GTKDOC_CHECK)
-
+if ENABLE_GTK_DOC
+TESTS_ENVIRONMENT = cd $(srcdir) &&
+TESTS = $(GTKDOC_CHECK)
+endif