summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2011-10-16 14:34:43 +0200
committerDavid King <amigadave@amigadave.com>2011-10-23 15:26:16 +0200
commit109ceba70da1b995613c8931284ebab86751a84f (patch)
tree785b9a934bcf95494dabd22babc3031d1c347b43 /docs
parent8b76f7191613129bbd18a3dc5d72a63d8af308eb (diff)
downloadcheese-109ceba70da1b995613c8931284ebab86751a84f.tar.gz
Convert documentation to build non-recursively
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am1
-rw-r--r--docs/reference/Makefile.am13
-rw-r--r--docs/reference/version.xml.in2
3 files changed, 7 insertions, 9 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
deleted file mode 100644
index f3ddc22d..00000000
--- a/docs/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-SUBDIRS = reference
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 4e5940c0..d03c2829 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -18,18 +18,18 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
# gtk-doc will search all .c & .h files beneath here for inline comments
# documenting the functions and macros.
# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../../libcheese
+DOC_SOURCE_DIR=$(top_srcdir)/libcheese
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
SCANGOBJ_OPTIONS=
# Extra options to supply to gtkdoc-scan.
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
-SCAN_OPTIONS=--rebuild-types
+SCAN_OPTIONS=--source-dir=$(top_srcdir)/libcheese --rebuild-types
# Extra options to supply to gtkdoc-mkdb.
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
-MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=cheese
+MKDB_OPTIONS=--source-dir=$(top_srcdir)/libcheese --sgml-mode --output-format=xml --name-space=cheese
# Extra options to supply to gtkdoc-mktmpl
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
@@ -57,7 +57,7 @@ IGNORE_HFILES= \
cheese-fileutil.h \
cheese-flash.h \
cheese-widget-private.h \
- cheese-enum-types.h \
+ cheese-enums.h \
um-crop-area.h
# Images to copy into HTML directory.
@@ -81,15 +81,14 @@ expand_content_files=
AM_CPPFLAGS=-I$(top_srcdir) -I$(top_builddir) $(CHEESE_CFLAGS)
GTKDOC_LIBS=\
$(CHEESE_LIBS) \
- $(top_builddir)/libcheese/libcheese.la \
- $(top_builddir)/libcheese/libcheese-gtk.la
+ $(top_builddir)/libcheese.la \
+ $(top_builddir)/libcheese-gtk.la
# This includes the standard gtk-doc make rules, copied by gtkdocize.
include $(top_srcdir)/gtk-doc.make
# Other files to distribute
# e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST += version.xml.in
#if ENABLE_GTK_DOC
#TESTS_ENVIRONMENT = cd $(srcdir) &&
diff --git a/docs/reference/version.xml.in b/docs/reference/version.xml.in
index d78bda93..a24f9877 100644
--- a/docs/reference/version.xml.in
+++ b/docs/reference/version.xml.in
@@ -1 +1 @@
-@VERSION@
+@PACKAGE_VERSION@